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

Merge pull request #169 from jumpserver/dev

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