mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
windowManager.close();
|
windowManager.close().then((_) {
|
||||||
|
// Make sure the app exits when the window is closed.
|
||||||
|
exit(0);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
Reference in New Issue
Block a user