mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
selectdriver: actually, force a disconnect when _run_irc() fails
This commit is contained in:
parent
989259af97
commit
f10f5bee52
@ -24,6 +24,8 @@ def _process_conns():
|
||||
irc._run_irc()
|
||||
except:
|
||||
log.exception('Error in select driver loop:')
|
||||
if not irc._aborted.is_set():
|
||||
irc.disconnect()
|
||||
continue
|
||||
|
||||
def register(irc):
|
||||
|
Loading…
Reference in New Issue
Block a user