Skip to content

Commit 4c834cc

Browse files
committed
Replace sqlite3_close with sqlite2_close_v2 in deinit of SQLiteDatabase
1 parent c5a4689 commit 4c834cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/SQLiteKit/SQLiteDatabase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ internal class SQLiteDatabase: SQLDatabase {
4141

4242
deinit {
4343
sqlite3_update_hook(db, nil, nil)
44-
sqlite3_close(db)
44+
sqlite3_close_v2(db)
4545
}
4646

4747
public static func open(path: String) throws -> SQLiteDatabase {

0 commit comments

Comments
 (0)