fix: avoid closing statements twice, they are closed in base connection

This commit is contained in:
Brian J. Cardiff 2016-08-30 16:17:49 -03:00
parent 6b72e01c2f
commit f70c1d89e2

View file

@ -19,7 +19,6 @@ class SQLite3::Connection < DB::Connection
end
def do_close
@statements_cache.values.each &.close
super
LibSQLite3.close_v2(self)
end