Skip to content

Commit 5b164ef

Browse files
committed
1 parent a9bc997 commit 5b164ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/parts/debug/node/debugAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export class SocketDebugAdapter extends StreamDebugAdapter {
238238
}
239239

240240
stopSession(): TPromise<void> {
241-
if (this.socket !== null) {
241+
if (this.socket) {
242242
this.socket.end();
243243
this.socket = undefined;
244244
}

0 commit comments

Comments
 (0)