1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

CIRA fix.

This commit is contained in:
Ylian Saint-Hilaire 2020-10-08 14:25:16 -07:00
parent 88b38f9c32
commit 8fd7327aea
4 changed files with 47 additions and 25 deletions

View file

@ -479,6 +479,7 @@ module.exports.CreateApfServer = function (parent, db, args) {
if (cirachannel.state > 0) {
cirachannel.state = 0;
if (cirachannel.onStateChange) { cirachannel.onStateChange(cirachannel, cirachannel.state); }
SendChannelClose(cirachannel.socket, cirachannel.amtchannelid);
delete socket.tag.channels[RecipientChannel];
}
return 5;