reverting a change that caused switching sessions within gui to break
This commit is contained in:
		
							parent
							
								
									ae5d718737
								
							
						
					
					
						commit
						836133c97d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1641,10 +1641,10 @@ class CoreHandler(socketserver.BaseRequestHandler):
 | 
			
		|||
                    logging.info("request to connect to session %s", session_id)
 | 
			
		||||
 | 
			
		||||
                    # remove client from session broker and shutdown if needed
 | 
			
		||||
                    self.remove_session_handlers()
 | 
			
		||||
                    self.session.broker.session_clients.remove(self)
 | 
			
		||||
                    if not self.session.broker.session_clients and not self.session.is_active():
 | 
			
		||||
                        self.coreemu.delete_session(self.session.id)
 | 
			
		||||
                    self.remove_session_handlers()
 | 
			
		||||
 | 
			
		||||
                    # set session to join
 | 
			
		||||
                    self.session = session
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue