mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-22 03:04:18 +00:00
mod_http_cache: CID 1025858: Thread deadlock (ORDER_REVERSAL)
This commit is contained in:
1 parent
e98045841e
commit
c36e63026c
1 file changed
+1
@@ -1702,6 +1702,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_http_cache_shutdown)
|
||||
gcache.shutdown = 1;
|
||||
switch_queue_interrupt_all(gcache.prefetch_queue);
|
||||
switch_thread_rwlock_wrlock(gcache.shutdown_lock);
|
||||
switch_thread_rwlock_unlock(gcache.shutdown_lock);
|
||||
|
||||
url_cache_clear(&gcache, NULL);
|
||||
switch_core_hash_destroy(&gcache.map);
|
||||
|
||||
Reference in new issue
Block a user