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:
parent
701f01fa4f
commit
7daef0000b
@ -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):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user