This commit is contained in:
Matthew Fosse 2024-12-26 10:43:14 -05:00
parent 4406ee7661
commit 77940a8f7a

View file

@ -138,6 +138,8 @@ Future<void> onStart(ServiceInstance service) async {
service.on('stopService').listen((event) async {
printV("STOPPING BACKGROUND SERVICE");
_syncTimer?.cancel();
_stuckSyncTimer?.cancel();
_queueTimer?.cancel();
await service.stopSelf();
});