Merge pull request #122399 from solomatov/ext-host-hang
Terminate in case of ext host IPC timeout
This commit is contained in:
commit
5728f84b8c
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ function _createExtHostProtocol(): Promise<PersistentProtocol> {
|
|||
let protocol: PersistentProtocol | null = null;
|
||||
|
||||
let timer = setTimeout(() => {
|
||||
reject(new Error('VSCODE_EXTHOST_IPC_SOCKET timeout'));
|
||||
onTerminate('VSCODE_EXTHOST_IPC_SOCKET timeout');
|
||||
}, 60000);
|
||||
|
||||
const reconnectionGraceTime = ProtocolConstants.ReconnectionGraceTime;
|
||||
|
|
Loading…
Reference in a new issue