mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 21:52:24 +00:00
close browser on EH termination
This commit is contained in:
parent
98f2988435
commit
97285db92e
1 changed files with 5 additions and 0 deletions
|
@ -162,6 +162,11 @@ export class RemoteExtensionHostClient extends Disposable implements IExtensionH
|
|||
}
|
||||
|
||||
private _onExtHostConnectionLost(): void {
|
||||
|
||||
if (this._isExtensionDevHost && this._environmentService.debugExtensionHost.debugId) {
|
||||
this._extensionHostDebugService.close(this._environmentService.debugExtensionHost.debugId);
|
||||
}
|
||||
|
||||
if (this._terminating) {
|
||||
// Expected termination path (we asked the process to terminate)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue