Add client ping functions to task websocket

This commit is contained in:
2024-05-26 07:17:29 +08:00
parent e9f8c7b346
commit a6d0a2e3c7
2 changed files with 30 additions and 0 deletions

View File

@@ -299,6 +299,7 @@ class _MainApp extends State<MainApp> with WidgetsBindingObserver {
_lifecycleState = WidgetsBinding.instance.lifecycleState;
listener.tryEmit("lifecycle", _lifecycleState);
}
tasks.init();
}
@override