mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-21 10:49:07 +00:00
Make sure we always kill the syntax server when the semantic server exists
This commit is contained in:
@@ -311,7 +311,10 @@ export class SyntaxRoutingTsServer extends Disposable implements ITypeScriptServ
|
||||
this._register(syntaxServer.onEvent(e => this._onEvent.fire(e)));
|
||||
this._register(semanticServer.onEvent(e => this._onEvent.fire(e)));
|
||||
|
||||
this._register(semanticServer.onExit(e => this._onExit.fire(e)));
|
||||
this._register(semanticServer.onExit(e => {
|
||||
this._onExit.fire(e);
|
||||
this.syntaxServer.kill();
|
||||
}));
|
||||
this._register(semanticServer.onError(e => this._onError.fire(e)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user