mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 19:52:53 +01:00
inspircd: mark endburstf() threads as daemon=True
There is no reason whatsoever for this to even potentially block shutdown.
This commit is contained in:
parent
64f05bd28b
commit
486a225156
@ -366,7 +366,9 @@ class InspIRCdProtocol(TS6BaseProtocol):
|
||||
self._send_with_prefix(sid, 'ENDBURST')
|
||||
|
||||
if endburst_delay:
|
||||
threading.Thread(target=endburstf, name="protocols/inspircd delayed ENDBURST thread for %s@%s" % (sid, self.name)).start()
|
||||
t = threading.Thread(target=endburstf, name="protocols/inspircd delayed ENDBURST thread for %s@%s" % (sid, self.name))
|
||||
t.daemon = True
|
||||
t.start()
|
||||
else: # Else, send burst immediately
|
||||
self._send_with_prefix(sid, 'ENDBURST')
|
||||
return sid
|
||||
|
Loading…
Reference in New Issue
Block a user