Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-07 14:53:53 +08:00
parent 904756b6ea
commit 4553b86cb4
5 changed files with 15 additions and 19 deletions

View File

@@ -142,6 +142,7 @@ class _MainAppState extends State<MainApp>
Future<void> _onClose() async {
await GStorage.compact();
await GStorage.close();
await trayManager.destroy();
if (Platform.isWindows) {
const MethodChannel('window_control').invokeMethod('closeWindow');
} else {