Set boolean to false when exit is cancelled
This commit is contained in:
@@ -560,6 +560,7 @@ app.on("ready", async () => {
|
||||
}) === 0;
|
||||
if (shouldCancelCloseRequest) {
|
||||
e.preventDefault();
|
||||
global.appQuitting = false;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user