mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-25 06:35:54 -05:00
Fix for #2721
This commit is contained in:
parent
6e7f337509
commit
6d806087f8
@ -39,7 +39,7 @@ module.exports.CreateMstscRelay = function (parent, db, ws, req, args, domain) {
|
||||
//console.log('WinRDP - in', inTraffc, 'out', outTraffc);
|
||||
|
||||
if (obj.wsClient) { obj.wsClient.close(); delete obj.wsClient; }
|
||||
if (obj.tcpServer) { obj.tcpServer.close(); obj.tcpServer.destroy(); delete obj.tcpServer; }
|
||||
if (obj.tcpServer) { obj.tcpServer.close(); delete obj.tcpServer; }
|
||||
if (rdpClient) { rdpClient.close(); rdpClient = null; }
|
||||
if ((arg == 1) || (arg == null)) { try { ws.close(); } catch (e) { console.log(e); } } // Soft close, close the websocket
|
||||
if (arg == 2) { try { ws._socket._parent.end(); } catch (e) { console.log(e); } } // Hard close, close the TCP socket
|
||||
|
@ -6614,11 +6614,11 @@
|
||||
"en": "Assistant",
|
||||
"es": "Asistente",
|
||||
"fr": "Assistant",
|
||||
"hi": "सहायक",
|
||||
"ko": "アシスタント",
|
||||
"hi": "Assistant",
|
||||
"ko": "Assistant",
|
||||
"nl": "Assistant",
|
||||
"ru": "Ассистент",
|
||||
"zh-chs": "助手",
|
||||
"zh-chs": "Assistant",
|
||||
"xloc": [
|
||||
"agentinvite.handlebars->container->column_l->5->1->tandrotab",
|
||||
"agentinvite.handlebars->container->column_l->5->assistab->1"
|
||||
|
Loading…
Reference in New Issue
Block a user