Fix exit method

This commit is contained in:
rafael-aero
2021-08-20 14:49:49 +02:00
parent b42eba8a70
commit 133dcd6b65

View File

@@ -305,7 +305,7 @@ function startAspCoreBackend(electronPort) {
console.log(`ASP.NET Process exited with code ${code}`);
if (code != 0) {
console.log(`Will quit Electron, as exit code != 0 (got ${code})`);
app.quit();
app.exit(code);
}
});
}
@@ -344,7 +344,7 @@ function startAspCoreBackendWithWatch(electronPort) {
console.log(`ASP.NET Process exited with code ${code}`);
if (code != 0) {
console.log(`Will quit Electron, as exit code != 0 (got ${code})`);
app.quit();
app.exit(code);
}
});
}