Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d86e437

Browse files
committedJul 15, 2021
debugger: fix inspect restart on Windows
Fixes: nodejs#37224 PR-URL: nodejs#38161 Refs: nodejs#36481 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Jan Krems <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Stephen Belanger <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 92ffbaf commit d86e437

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎lib/internal/inspector/inspect_client.js

+3
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ class Client extends EventEmitter {
228228
if (this._http) {
229229
this._http.destroy();
230230
}
231+
if (this._socket) {
232+
this._socket.destroy();
233+
}
231234
this._http = null;
232235
this._lastId = 0;
233236
this._socket = null;

0 commit comments

Comments
 (0)
Please sign in to comment.