mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
Explicitly close app on key press
This commit is contained in:
@@ -525,6 +525,8 @@ app.on("ready", async () => {
|
|||||||
|
|
||||||
if (shouldCancelCloseRequest) {
|
if (shouldCancelCloseRequest) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
} else {
|
||||||
|
app.exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user