diff --git a/emain/emain.ts b/emain/emain.ts index ee6ed3fbe..5dec24e1a 100644 --- a/emain/emain.ts +++ b/emain/emain.ts @@ -942,6 +942,11 @@ electronApp.on("window-all-closed", () => { electronApp.on("before-quit", (e) => { globalIsQuitting = true; updater?.stop(); + if (unamePlatform == "win32") { + // win32 doesn't have a SIGINT, so we just let electron die, which + // ends up killing wavesrv via closing it's stdin. + return; + } waveSrvProc?.kill("SIGINT"); shutdownWshrpc(); if (forceQuit) {