close browser on EH termination

This commit is contained in:
Andre Weinand 2019-07-22 17:47:30 +02:00
parent 98f2988435
commit 97285db92e

View file

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