fix: windows close

This commit is contained in:
xkeyC 2025-11-15 22:27:44 +08:00
parent 3f660c7d5e
commit 31d867bf3b
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
class ConstConf { class ConstConf {
static const String appVersion = "2.15.0"; static const String appVersion = "2.15.1 Beta";
static const int appVersionCode = 70; static const int appVersionCode = 71;
static const String appVersionDate = "2025-11-8"; static const String appVersionDate = "2025-11-15";
static const _gameChannels = [ static const _gameChannels = [
"LIVE", "LIVE",
"4.0_PREVIEW", "4.0_PREVIEW",

View File

@ -126,8 +126,8 @@ class App extends HookConsumerWidget with WindowListener {
} }
} }
} }
await windowManager.setPreventClose(false);
await windowManager.close(); await windowManager.close();
await windowManager.destroy();
exit(0); exit(0);
} }
super.onWindowClose(); super.onWindowClose();