mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
Fix a possible deadlock scenario in the impossible scenario from the last patch.
This commit is contained in:
parent
a6d24d8eac
commit
6c4ec9d954
@ -255,6 +255,7 @@ static void *SWITCH_THREAD_FUNC switch_event_dispatch_thread(switch_thread_t *th
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( my_id >= MAX_DISPATCH_VAL ) {
|
if ( my_id >= MAX_DISPATCH_VAL ) {
|
||||||
|
switch_mutex_unlock(EVENT_QUEUE_MUTEX);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user