Commit 7c01f428 authored by ibuler's avatar ibuler

[Bugfix] 修复关闭client失败的问题

parent 18c46fc4
......@@ -124,6 +124,7 @@ class SSHServer:
client.send_unicode(msg)
finally:
connection = Connection.get_connection(client.connection_id)
if connection:
connection.remove_client(client.id)
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