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