Unverified Commit 5772ea4e authored by liuzheng712's avatar liuzheng712

Merge branch 'dev' into test

parents cb8f09b9 a3e6a236
...@@ -150,8 +150,6 @@ class SSHws(Namespace, BaseWebSocketHandler): ...@@ -150,8 +150,6 @@ class SSHws(Namespace, BaseWebSocketHandler):
if connection: if connection:
if connection in self.clients[request.sid]["proxy"].keys(): if connection in self.clients[request.sid]["proxy"].keys():
self.clients[request.sid]["proxy"][connection].close() self.clients[request.sid]["proxy"][connection].close()
if connection in self.clients[request.sid]["client"].keys():
self.clients[request.sid]["client"][connection].close()
def logout(self, connection): def logout(self, connection):
if connection and (request.sid in self.clients.keys()): if connection and (request.sid in self.clients.keys()):
......
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