mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
Make sure the app quits when the window is closed.
This commit is contained in:
@@ -82,7 +82,10 @@ class _WindowFrameState extends State<WindowFrame> {
|
||||
return;
|
||||
}
|
||||
}
|
||||
windowManager.close();
|
||||
windowManager.close().then((_) {
|
||||
// Make sure the app exits when the window is closed.
|
||||
exit(0);
|
||||
});
|
||||
}
|
||||
|
||||
@override
|
||||
|
Reference in New Issue
Block a user