aboutsummaryrefslogtreecommitdiff
path: root/sqlite3.go
diff options
context:
space:
mode:
authorandrefsp <andrefsp@gmail.com>2016-11-07 11:57:52 +0000
committerandrefsp <andrefsp@gmail.com>2016-11-07 11:57:52 +0000
commit6c0a6bb9cd9183c80883865877b76ef2e23905fc (patch)
tree6a2e9434d2c7dc352a2c0e4befd147a9c396ddf6 /sqlite3.go
parentMerge branch 'master' of https://github.com/mattn/go-sqlite3 (diff)
downloadgolite-6c0a6bb9cd9183c80883865877b76ef2e23905fc.tar.gz
golite-6c0a6bb9cd9183c80883865877b76ef2e23905fc.tar.xz
Fix data race introduced on 605d9d08
This commit will fix a data race introduced on 605d9d08 and also make sure travis CI will now check for data races.
Diffstat (limited to 'sqlite3.go')
-rw-r--r--sqlite3.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/sqlite3.go b/sqlite3.go
index ac069e3..9b55ef1 100644
--- a/sqlite3.go
+++ b/sqlite3.go
@@ -847,7 +847,6 @@ func (rc *SQLiteRows) Close() error {
}
if rc.done != nil {
close(rc.done)
- rc.done = nil
}
if rc.cls {
return rc.s.Close()