Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
new Disposable(() => ipc.removeListener('dark-mode-changed', boundChanger))
)
new Disposable(() => ipc.removeListener('dark-mode-changed', boundChanger))
)
new Disposable(() => ipc.removeListener('close-via-menu', this.closeViaMenu))
)
new Disposable(() => ipc.removeListener('close-via-menu', window.close))
)
new Disposable(() => ipc.removeListener('close-via-menu', window.close))
)
new Disposable(() => ipc.removeListener('close-via-menu', window.close))
)
new Disposable(() => ipc.removeListener('dark-mode-changed', boundChanger))
)
return new Disposable(() => {
ipc.removeListener(`pty-exit-${this.id}`, callback)
})
}
this.subscriptions.add(new Disposable(() => {
ipc.removeListener(`pty-data-${this.id}`, this.writePtyData)
}))
this.subscriptions.add(this.onData(data => {