Fix not being able to dispose vscode after failed disposal
This commit is contained in:
parent
f4e5855318
commit
c72c53f64d
@ -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 New Issue
Block a user