mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-06 06:58:21 +00:00
remove special shutdown logic for windows (#992)
This commit is contained in:
parent
62602de71e
commit
f4c7269195
1 changed files with 5 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue