mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-10 06:11:53 +00:00
Fix a possible deadlock scenario in the impossible scenario from the last patch.
This commit is contained in:
@@ -255,6 +255,7 @@ static void *SWITCH_THREAD_FUNC switch_event_dispatch_thread(switch_thread_t *th
|
||||
}
|
||||
|
||||
if ( my_id >= MAX_DISPATCH_VAL ) {
|
||||
switch_mutex_unlock(EVENT_QUEUE_MUTEX);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user