mirror of
https://github.com/cdr/code-server.git
synced 2025-12-08 01:12:40 +01:00
Fix not being able to dispose vscode after failed disposal
This commit is contained in:
parent
f4e5855318
commit
c72c53f64d
1 changed files with 1 additions and 1 deletions
|
|
@ -22,8 +22,8 @@ export class VscodeProvider {
|
||||||
if (this._vscode) {
|
if (this._vscode) {
|
||||||
const vscode = await this._vscode
|
const vscode = await this._vscode
|
||||||
vscode.removeAllListeners()
|
vscode.removeAllListeners()
|
||||||
this._vscode = undefined
|
|
||||||
vscode.kill()
|
vscode.kill()
|
||||||
|
this._vscode = undefined
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue