Skip to content

ClosedException after stopSyncing() called. #347

@abjox

Description

@abjox

powersync_core: ^1.6.1
powersync_sqlcipher: ^0.1.13

Image
flutter: PowerSync: INFO: AttachmentQueue closed.
flutter: AppConfiguration: Uncaught app exception: ClosedException
flutter: #0      SqliteConnectionPool.readLock (package:sqlite_async/src/native/database/connection_pool.dart:132:7)
connection_pool.dart:132
#1      SqliteDatabaseImpl.readLock (package:sqlite_async/src/native/database/native_sqlite_database.dart:150:18)
native_sqlite_database.dart:150
#2      PowerSyncDatabaseImpl.readLock (package:powersync_core/src/database/native/native_powersync_database.dart:292:21)
native_powersync_database.dart:292
<asynchronous suspension>
#3      AttachmentContext.getAttachments (package:powersync_core/src/attachments/implementations/attachment_context.dart:79:21)
attachment_context.dart:79
<asynchronous suspension>
#4      AttachmentQueue._processWatchedAttachments.<anonymous closure> (package:powersync_core/src/attachments/attachment_queue_service.dart:250:34)
attachment_queue_service.dart:250
<asynchronous suspension>
#5      AttachmentService.withContext.<anonymous closure> (package:powersync_core/src/attachments/implementations/attachment_service.dart:68:16)
attachment_service.dart:68
<asynchronous suspension>
#6      SimpleMutex.lock.<anonymous closure> (package:sqlite_async/src/native/native_isolate_mutex.dart:65:16)
native_isolate_mutex.dart:65
<asynchronous suspension><…>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions