diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/index.ts b/src/main/index.ts index 00a0e1a..334691d 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -1407,7 +1407,8 @@ app.whenReady().then(async () => { app.on('window-all-closed', () => { mainWindow = null - ptyInstance?.kill() + for (const inst of ptyInstances.values()) inst.kill() + ptyInstances.clear() fileSyncBridge?.stop() fileSyncBridge = null overleafSock?.disconnect() |
