Skip to content

Commit

Permalink
debugger: fix inspect restart on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Apr 21, 2021
1 parent 332d247 commit 4a22faa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/internal/inspector/inspect_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ class Client extends EventEmitter {
if (this._http) {
this._http.destroy();
}
if (this._socket) {
this._socket.destroy();
}
this._http = null;
this._lastId = 0;
this._socket = null;
Expand Down

0 comments on commit 4a22faa

Please sign in to comment.