Fixed a possible exception
This commit is contained in:
		
							parent
							
								
									523048f111
								
							
						
					
					
						commit
						c2f9970ef0
					
				| @ -298,7 +298,7 @@ function startConnection(socket) { | ||||
|                 socket.disconnect(true); | ||||
|                 //clear err socket in queue
 | ||||
|                 for (var i = 0; i < connectionSocketQueue.length; i++) { | ||||
|                     if (connectionSocketQueue[i].id == socket.id) | ||||
|                     if (!connectionSocketQueue[i] || connectionSocketQueue[i].id == socket.id) | ||||
|                         connectionSocketQueue.splice(i, 1); | ||||
|                 } | ||||
|                 isConnectionBusy = false; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user