mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-25 20:51:23 +03:00
Fix for #2509
This commit is contained in:
parent
4295e8ef04
commit
58b117c8e7
@ -94,6 +94,7 @@ function CreateDesktopMultiplexor(parent, domain, nodeid, func) {
|
||||
// Add an agent or viewer
|
||||
obj.addPeer = function (peer) {
|
||||
if (obj.viewers == null) { parent.parent.debug('relay', 'DesktopRelay: Error, addingPeer on disposed session'); return; }
|
||||
if (peer.req == null) return; // This peer is already disposed, don't add it.
|
||||
if (peer.req.query.browser) {
|
||||
//console.log('addPeer-viewer', obj.nodeid);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user