We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52acb50 commit 1bf3036Copy full SHA for 1bf3036
lib/vscode/src/vs/server/node/connection.ts
@@ -54,7 +54,7 @@ export abstract class Connection {
54
export class ManagementConnection extends Connection {
55
public constructor(protected protocol: Protocol, token: string) {
56
super(protocol, token);
57
- protocol.onClose(() => this.dispose()); // Explicit close.
+ protocol.onDidDispose(() => this.dispose()); // Explicit close.
58
protocol.onSocketClose(() => this.setOffline()); // Might reconnect.
59
}
60
0 commit comments