Commit 4b208944 authored by ibuler's avatar ibuler

Merge branch 'test' of bitbucket.org:jumpserver/coco into test

parents 3bc45cf6 5772ea4e
...@@ -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