diff --git a/lib/entities/background_tasks.dart b/lib/entities/background_tasks.dart index 65f80b50a..71cde7569 100644 --- a/lib/entities/background_tasks.dart +++ b/lib/entities/background_tasks.dart @@ -138,6 +138,8 @@ Future onStart(ServiceInstance service) async { service.on('stopService').listen((event) async { printV("STOPPING BACKGROUND SERVICE"); _syncTimer?.cancel(); + _stuckSyncTimer?.cancel(); + _queueTimer?.cancel(); await service.stopSelf(); });