This commit is contained in:
Alessandro Autiero
2024-12-09 12:59:14 +01:00
parent e3f7a1d2cc
commit 2046cb14f6
3 changed files with 5 additions and 1 deletions

View File

@@ -164,6 +164,9 @@ class _HomePageState extends State<HomePage> with WindowListener, AutomaticKeepA
await _hostingController.discardServer();
}catch(error) {
log("[HOSTING] Cannot discard server: $error");
}finally {
// Force closing because the backend might be running, but we want the process to exit
exit(0);
}
}