Unverified Commit 1d73afe2 authored by 老广's avatar 老广 Committed by GitHub

Merge pull request #169 from jumpserver/dev

Dev
parents 299da568 01e4eb72
...@@ -124,6 +124,7 @@ class SSHServer: ...@@ -124,6 +124,7 @@ class SSHServer:
client.send_unicode(msg) client.send_unicode(msg)
finally: finally:
connection = Connection.get_connection(client.connection_id) connection = Connection.get_connection(client.connection_id)
if connection:
connection.remove_client(client.id) connection.remove_client(client.id)
def shutdown(self): def shutdown(self):
......
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