1
0
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:
Bram Matthys
2003-02-24 03:04:23 +00:00
parent 99ee86c9c9
commit 60b77d4485
4 changed files with 18 additions and 4 deletions
+2 -3
View File
@@ -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);