diff --git a/lib/blocs/drives/drives_cubit.dart b/lib/blocs/drives/drives_cubit.dart index e2fbd4f689..386487de4c 100644 --- a/lib/blocs/drives/drives_cubit.dart +++ b/lib/blocs/drives/drives_cubit.dart @@ -132,6 +132,10 @@ class DrivesCubit extends Cubit { drivesWithAlerts: const [], canCreateNewDrive: false); + if (isClosed) { + return; + } + emit(state); }