bugfix tcp disconnect
This commit is contained in:
parent
1873cdea50
commit
82aeffd67c
|
@ -460,7 +460,7 @@ var Server = {
|
||||||
try {
|
try {
|
||||||
srv.portsMap[portnumber].close(function () {
|
srv.portsMap[portnumber].close(function () {
|
||||||
console.log("[DynTcpConn] closing server for ", portnumber);
|
console.log("[DynTcpConn] closing server for ", portnumber);
|
||||||
delete srv.portMap[portnumber];
|
delete srv.portsMap[portnumber];
|
||||||
delete PortServers[portnumber];
|
delete PortServers[portnumber];
|
||||||
});
|
});
|
||||||
} catch(e) { /*ignore*/ }
|
} catch(e) { /*ignore*/ }
|
||||||
|
|
Loading…
Reference in New Issue