bugfix tcp disconnect

This commit is contained in:
AJ ONeal 2018-06-21 20:16:08 +00:00
parent 1873cdea50
commit 82aeffd67c
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ var Server = {
try {
srv.portsMap[portnumber].close(function () {
console.log("[DynTcpConn] closing server for ", portnumber);
delete srv.portMap[portnumber];
delete srv.portsMap[portnumber];
delete PortServers[portnumber];
});
} catch(e) { /*ignore*/ }