Prevent window from closing while uploading data

This commit is contained in:
2025-03-31 15:46:41 +08:00
parent cd9b07bb3e
commit 7631fab86b
3 changed files with 67 additions and 37 deletions

View File

@@ -82,10 +82,7 @@ class _WindowFrameState extends State<WindowFrame> {
return;
}
}
windowManager.close().then((_) {
// Make sure the app exits when the window is closed.
exit(0);
});
exit(0);
}
@override