3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 11:39:25 +01:00

Irc: break out of processQueue properly when a network disconnects

This commit is contained in:
James Lu 2017-05-09 23:31:20 -07:00
parent 701f01fa4f
commit 7daef0000b

View File

@ -184,8 +184,9 @@ class Irc(utils.DeprecatedAttributesObject):
self._send(data) self._send(data)
except queue.Empty: except queue.Empty:
pass pass
else:
log.debug('(%s) Stopping queue thread as aborted is set', self.name) log.debug('(%s) Stopping queue thread as aborted is set', self.name)
break
def connect(self): def connect(self):
""" """