fix:

update
parent 77bfcbd5
......@@ -146,8 +146,8 @@ class SSHws(Namespace, BaseWebSocketHandler):
pass
def on_logout(self, connection):
logger.debug("{} logout".format(connection))
if connection:
logger.debug("Session {} logout {}".format(request.sid, connection))
if connection and request.id in self.clients[request.sid].keys():
if connection in self.clients[request.sid]["proxy"].keys():
proxy = self.clients[request.sid]["proxy"][connection]
del self.clients[request.sid]["proxy"][connection]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment