mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
debugger: fix inspect restart on Windows
Fixes: https://github.com/nodejs/node/issues/37224 PR-URL: https://github.com/nodejs/node/pull/38161 Backport-PR-URL: https://github.com/nodejs/node/pull/38858 Refs: https://github.com/nodejs/node/discussions/36481 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
1 parent
0321c5b194
commit
1da692185a
1 file changed
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user