Skip to content

Commit 3211662

Browse files
committedMay 19, 2025
Fix passing task to write context
1 parent 3afeec6 commit 3211662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/sqlite_async/lib/src/common/connection/sync_sqlite_connection.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class SyncSqliteConnection extends SqliteConnection with SqliteQueries {
5555
return mutex.lock(
5656
() {
5757
task?.finish();
58-
return callback(SyncWriteContext(db));
58+
return callback(SyncWriteContext(db, parent: task));
5959
},
6060
timeout: lockTimeout,
6161
);

0 commit comments

Comments
 (0)