mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -97,7 +97,7 @@ class ShutdownTimerService with WidgetsBindingObserver {
|
||||
],
|
||||
);
|
||||
},
|
||||
).then((_) {
|
||||
).whenComplete(() {
|
||||
// Cleanup when the dialog is dismissed
|
||||
_autoCloseDialogTimer?.cancel();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user