Skip to content

Commit

Permalink
fix crash on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
hatharry committed Dec 30, 2020
1 parent 37ba307 commit 39751e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,6 @@
require("fs").writeFileSync(windowStatePath, JSON.stringify(data));
}

sendJavascript('AppCloseHelper.onClosing();');

// Unregister all shortcuts.
electron.globalShortcut.unregisterAll();
Expand All @@ -824,7 +823,6 @@
cecProcess.kill();
}

app.exit();
}

function parseCommandLine() {
Expand Down

0 comments on commit 39751e4

Please sign in to comment.