Version 0.7.49

This commit is contained in:
Ylian Saint-Hilaire 2021-01-20 14:48:46 -08:00
parent 78f48a7692
commit fe37dd58aa
2 changed files with 2 additions and 2 deletions

View File

@ -531,7 +531,7 @@ module.exports.CreateMultiServer = function (parent, args) {
if (peerServerId > obj.parent.serverId) { if (peerServerId > obj.parent.serverId) {
// We must initiate the connection to the peer // We must initiate the connection to the peer
userid = null; userid = null;
if (rsession.peer1.req.session != null) { userid = rsession.peer1.req.session.userid; } if (rsession.peer1.req.session != null) { userid = rsession.peer1.req.session.userid; } // TODO: Seems like there is a race condition here, need to investigate.
obj.createPeerRelay(rsession.peer1.ws, rsession.peer1.req, peerServerId, userid); obj.createPeerRelay(rsession.peer1.ws, rsession.peer1.req, peerServerId, userid);
delete obj.parent.webserver.wsrelays[msg.id]; delete obj.parent.webserver.wsrelays[msg.id];
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "meshcentral", "name": "meshcentral",
"version": "0.7.48", "version": "0.7.49",
"keywords": [ "keywords": [
"Remote Device Management", "Remote Device Management",
"Remote Device Monitoring", "Remote Device Monitoring",