Skip to content

Commit

Permalink
wip: fix for nodejs#37224
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Apr 20, 2021
1 parent 8ee5bbe commit 04db551
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/inspector/inspect_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ class Client extends EventEmitter {

reset() {
if (this._http) {
this._http.removeAllListeners();
this._http.destroy();
}
this._http = null;
Expand Down

0 comments on commit 04db551

Please sign in to comment.