mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-03 15:13:13 +02:00
- Added EventMarkDel which marks an event for deletion for the (next) DoEvents() call.
- Fixed /rehash stall caused by delayed unloading of the scan module (deadlock).
This commit is contained in:
+2
-3
@@ -176,9 +176,8 @@ int m_scan_Unload(void)
|
||||
HookDel(ConfRun);
|
||||
HookDel(ConfPostTest);
|
||||
HookDel(ServerStats);
|
||||
LockEventSystem();
|
||||
EventDel(Scannings_clean);
|
||||
UnlockEventSystem();
|
||||
/* Mark for deletion */
|
||||
EventMarkDel(Scannings_clean);
|
||||
IRCMutexDestroy(Scannings_lock);
|
||||
if (scan_message)
|
||||
free(scan_message);
|
||||
|
||||
Reference in New Issue
Block a user