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…
Reference in New Issue