Skip to content

Commit 1bf3036

Browse files
committed
fix(connection): onClose -> onDidDispose protocol
1 parent 52acb50 commit 1bf3036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vscode/src/vs/server/node/connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export abstract class Connection {
5454
export class ManagementConnection extends Connection {
5555
public constructor(protected protocol: Protocol, token: string) {
5656
super(protocol, token);
57-
protocol.onClose(() => this.dispose()); // Explicit close.
57+
protocol.onDidDispose(() => this.dispose()); // Explicit close.
5858
protocol.onSocketClose(() => this.setOffline()); // Might reconnect.
5959
}
6060

0 commit comments

Comments
 (0)