We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f69614 commit 8dfbbb5Copy full SHA for 8dfbbb5
GRDB/Core/DatabasePool.swift
@@ -361,6 +361,7 @@ extension DatabasePool: DatabaseReader {
361
return try await readerPool.get { reader in
362
try await reader.execute { db in
363
defer {
364
+ #warning("TODO: when Task is cancelled, this commit fails, and we're still in a transaction")
365
// Ignore commit error, but make sure we leave the transaction
366
try? db.commit()
367
assert(!db.isInsideTransaction)
0 commit comments