未验证 提交 40a0ab3f 编写于 作者: B Bo Zhou 提交者: GitHub

Update cluster_monitor.py (#273)

上级 79230b57
......@@ -103,6 +103,7 @@ class ClusterMonitor(object):
cluster_address (str): IP address of the exited client.
"""
self.lock.acquire()
if client_address in self.status['clients']:
self.status['clients'].pop(client_address)
self.lock.release()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册