We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce5cef0 commit 94b7b95Copy full SHA for 94b7b95
lib/src/native/database/native_sqlite_connection_impl.dart
@@ -42,6 +42,7 @@ class SqliteConnectionImpl
42
this.readOnly = false,
43
bool primary = false})
44
: _writeMutex = mutex {
45
+ isInitialized = _isolateClient.ready;
46
this.upstreamPort = upstreamPort ?? listenForEvents();
47
// Accept an incoming stream of updates, or expose one if not given.
48
this.updates = updates ?? updatesController.stream;
@@ -88,7 +89,6 @@ class SqliteConnectionImpl
88
89
paused: true);
90
_isolateClient.tieToIsolate(_isolate);
91
_isolate.resume(_isolate.pauseCapability!);
- isInitialized = _isolateClient.ready;
92
await _isolateClient.ready;
93
});
94
}
0 commit comments