mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	
						commit
						222c96cf50
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -181,7 +181,7 @@ module.exports.CreateWebRelaySession = function (parent, db, req, args, domain,
 | 
				
			||||||
        tunnels = null;
 | 
					        tunnels = null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Close any pending requests
 | 
					        // Close any pending requests
 | 
				
			||||||
        for (var i in pendingRequests) { if (pendingRequests[i][2] == true) { pendingRequests[i][1].end(); } else { pendingRequests[i][1].close(); } }
 | 
					        for (var i in pendingRequests) { if (pendingRequests[i][2] == true) { pendingRequests[i][1].close(); } else { pendingRequests[i][1].end(); } }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Notify of session closure
 | 
					        // Notify of session closure
 | 
				
			||||||
        if (obj.onclose) { obj.onclose(obj.userid + '/' + obj.sessionId); }
 | 
					        if (obj.onclose) { obj.onclose(obj.userid + '/' + obj.sessionId); }
 | 
				
			||||||
| 
						 | 
					@ -2227,4 +2227,4 @@ function checkRelayRights(parent, domain, user, relayNodeId, func) {
 | 
				
			||||||
    parent.GetNodeWithRights(domain, user, relayNodeId, function (node, rights, visible) {
 | 
					    parent.GetNodeWithRights(domain, user, relayNodeId, function (node, rights, visible) {
 | 
				
			||||||
        func((node != null) && (rights == 0xFFFFFFFF));
 | 
					        func((node != null) && (rights == 0xFFFFFFFF));
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue