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.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user