mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-23 03:05:11 +00:00
minor
This commit is contained in:
parent
4406ee7661
commit
77940a8f7a
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue