mirror of
https://gitea.invidious.io/iv-org/shard-crystal-sqlite3.git
synced 2024-08-15 00:53:26 +00:00
fix: avoid closing statements twice, they are closed in base connection
This commit is contained in:
parent
6b72e01c2f
commit
f70c1d89e2
1 changed files with 0 additions and 1 deletions
|
@ -19,7 +19,6 @@ class SQLite3::Connection < DB::Connection
|
||||||
end
|
end
|
||||||
|
|
||||||
def do_close
|
def do_close
|
||||||
@statements_cache.values.each &.close
|
|
||||||
super
|
super
|
||||||
LibSQLite3.close_v2(self)
|
LibSQLite3.close_v2(self)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue