From 836133c97d7c8baea3bd615a8d74ef1f16d9011f Mon Sep 17 00:00:00 2001 From: bharnden Date: Fri, 5 Jul 2019 09:00:14 -0700 Subject: [PATCH] reverting a change that caused switching sessions within gui to break --- daemon/core/api/tlv/corehandlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/core/api/tlv/corehandlers.py b/daemon/core/api/tlv/corehandlers.py index de0c62f7..4e51b901 100644 --- a/daemon/core/api/tlv/corehandlers.py +++ b/daemon/core/api/tlv/corehandlers.py @@ -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