diff --git a/electron/main.js b/electron/main.js index 8166368..31b2d8c 100644 --- a/electron/main.js +++ b/electron/main.js @@ -167,6 +167,11 @@ app.whenReady().then(async () => { // quit electron app if exe dies exeChildProcess.on('exit', async function(code) { + // if no exit code provided, we wanted exit to happen, so do nothing + if(code == null){ + return; + } + // show crash log const stdout = stdoutLines.join(""); const stderr = stderrLines.join("");