diff --git a/lib/sync/domain/cubit/sync_cubit.dart b/lib/sync/domain/cubit/sync_cubit.dart index 5fe4b3124..be4335bcf 100644 --- a/lib/sync/domain/cubit/sync_cubit.dart +++ b/lib/sync/domain/cubit/sync_cubit.dart @@ -267,7 +267,9 @@ class SyncCubit extends Cubit { ' ${_lastSync!.difference(_initSync).inMilliseconds}ms to finish', ); - _promptToSnapshotBloc.add(const SyncRunning(isRunning: false)); + if (!_promptToSnapshotBloc.isClosed) { + _promptToSnapshotBloc.add(const SyncRunning(isRunning: false)); + } unawaited(_updateContext());