Skip to content

Commit

Permalink
Fix for Ylianst#2721
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylianst committed Jun 2, 2021
1 parent 6e7f337 commit 6d80608
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apprelays.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions translate/translate.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6d80608

Please sign in to comment.