Fix a possible deadlock scenario in the impossible scenario from the last patch.

This commit is contained in:
William King 2013-05-25 11:06:01 -07:00
parent a6d24d8eac
commit 6c4ec9d954
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}