fixed restored local tabs being unresponsive - fixes #5122, fixes #5124, fixes #5101

This commit is contained in:
Eugene Pankov
2021-12-12 12:03:01 +01:00
parent f91754ce7c
commit d039d76cff

View File

@@ -148,7 +148,7 @@ export class PTYManager {
})
ipcMain.on('pty:exists', (event, id) => {
event.returnValue = !this.ptys[id]?.exited
event.returnValue = this.ptys[id] && !this.ptys[id].exited
})
ipcMain.on('pty:get-pid', (event, id) => {