Removed double sockets.
This commit is contained in:
		
							parent
							
								
									9840c8eb03
								
							
						
					
					
						commit
						7ca2bc5776
					
				| @ -247,6 +247,8 @@ class Socket extends EventHandler { | ||||
|         console.info("Connection lost. Reconnecting."); | ||||
|         this.isConnected = false; | ||||
|         this.isConnecting = false; | ||||
|         this.ws.close(); | ||||
|         this.ws = null; | ||||
|         this.ensureConnection().then(() => { | ||||
|             console.info("Reconnected."); | ||||
|         }); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user