Remove client after closing thread
This commit is contained in:
parent
ae7657abbd
commit
b4fa6de4b8
|
@ -36,6 +36,7 @@ class Shoutbox(object):
|
|||
logging.debug("STOP: Halt all irc user threads")
|
||||
for client in self.irc_clients:
|
||||
self.irc_clients[client][0].stop()
|
||||
self.irc_clients.pop(client)
|
||||
self._handler.join()
|
||||
logging.debug("STOP: Shoutbox thread closed")
|
||||
|
||||
|
|
Loading…
Reference in New Issue