Set boolean to false when exit is cancelled

This commit is contained in:
R Midhun Suresh
2026-02-05 13:32:51 +05:30
parent 2766333e8a
commit 067e8e27c1
+1
View File
@@ -560,6 +560,7 @@ app.on("ready", async () => {
}) === 0;
if (shouldCancelCloseRequest) {
e.preventDefault();
global.appQuitting = false;
return false;
}
}