mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Use sqlite3_close_v2
This commit is contained in:
1 parent
96f8a57f44
commit
b237df4b6d
1 file changed
+2
-2
@@ -120,7 +120,7 @@ public final class Database {
|
||||
}
|
||||
} catch {
|
||||
// deinit is not called: close connection
|
||||
sqlite3_close(sqliteConnection)
|
||||
sqlite3_close_v2(sqliteConnection)
|
||||
throw error
|
||||
}
|
||||
#endif
|
||||
@@ -142,7 +142,7 @@ public final class Database {
|
||||
|
||||
deinit {
|
||||
configuration.SQLiteConnectionDidClose?()
|
||||
sqlite3_close(sqliteConnection)
|
||||
sqlite3_close_v2(sqliteConnection)
|
||||
}
|
||||
|
||||
func releaseMemory() {
|
||||
|
||||
Reference in new issue
Block a user