mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Server exception fix in IP-KVM mini router.
This commit is contained in:
@@ -1000,10 +1000,8 @@ function CreateMiniRouter(parent, nodeid, targetHost, targetPort) {
|
||||
delete tcpSockets[tcpSocket];
|
||||
try { tcpSocket.end(); } catch (ex) { console.log(ex); }
|
||||
if (tcpSocket.relaySocket) { try { tcpSocket.relaySocket.close(); } catch (ex) { console.log(ex); } }
|
||||
if (tcpSocket) {
|
||||
delete tcpSocket.relaySocket.tcpSocket;
|
||||
delete tcpSocket.relaySocket;
|
||||
}
|
||||
try { delete tcpSocket.relaySocket.tcpSocket; } catch (ex) { }
|
||||
try { delete tcpSocket.relaySocket; } catch (ex) { }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user