Remove duplicate code.

This commit is contained in:
Yuxin Wang 2018-10-02 00:17:31 -04:00
parent 47748561a7
commit d389ec57ad

View file

@ -46,7 +46,7 @@ class MessageServer:
for client in self._connections: for client in self._connections:
client.close() client.close()
for thread in set(self._threads): for thread in self._threads:
thread.join() thread.join()
def _listen(self): def _listen(self):