portable service: fix clean shared memory, at_exit not called at flutter

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-11-18 17:07:03 +08:00
parent 0199770454
commit f986236a61
3 changed files with 15 additions and 3 deletions

View File

@@ -90,6 +90,9 @@ class _ConnectionPageState extends State<ConnectionPage>
Get.forceAppUpdate();
}
isWindowMinisized = false;
} else if (eventName == 'close') {
// called more then one time
bind.mainOnMainWindowClose();
}
}