Fix not being able to dispose vscode after failed disposal

This commit is contained in:
Asher 2020-11-03 14:36:27 -06:00
parent f4e5855318
commit c72c53f64d
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }
} }