mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	check for ws equality on close, like original
This commit is contained in:
		
							parent
							
								
									8368c8e641
								
							
						
					
					
						commit
						cb8337c3a3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -5728,7 +5728,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use | |||
| 
 | ||||
|     function serverCommandClose(command) { | ||||
|         // Close the web socket session
 | ||||
|         try { delete obj.req.session.ws; } catch (e) { } | ||||
|         try { if (obj.req.session.ws == ws) delete obj.req.session.ws; } catch (e) { } | ||||
|         try { ws.close(); } catch (e) { } | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue