fixed: _pid of socket
This commit is contained in:
parent
ed5031b9cc
commit
e018ef4769
|
|
@ -296,7 +296,9 @@ Monitor.prototype._connectProcSock = function (socket) {
|
|||
|
||||
if (Array.isArray(socks) && socks.length > 0) {
|
||||
socks.forEach(function (sock) {
|
||||
canNotBeDeleted[sock.pid.toString()] = 1;
|
||||
if (sock._pid) {
|
||||
canNotBeDeleted[sock._pid.toString()] = 1;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue