Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-28 09:55:15 +08:00
parent 7ad48570f0
commit 1b4f588671
12 changed files with 152 additions and 154 deletions

View File

@@ -157,11 +157,10 @@ class _MainAppState extends State<MainApp>
}
@override
void dispose() async {
void dispose() {
MainApp.routeObserver.unsubscribe(this);
WidgetsBinding.instance.removeObserver(this);
// await GrpcClient.instance.shutdown();
await GStorage.close();
GStorage.close();
EventBus().off(EventName.loginEvent);
PiliScheme.listener?.cancel();
super.dispose();