FS-7252 #resolve 6-year-old regression from commit 525f1ac362ebe378fee2d38e3a5ed2e77e7bc436 back in 2008

This commit is contained in:
Anthony Minessale 2015-02-10 02:15:18 -06:00
parent 0dc48df426
commit 6afbc05f4f

View File

@ -271,9 +271,10 @@ static void event_handler(switch_event_t *event)
return; return;
} }
switch_mutex_lock(globals.listener_mutex);
lp = listen_list.listeners; lp = listen_list.listeners;
switch_mutex_lock(globals.listener_mutex);
while (lp) { while (lp) {
int send = 0; int send = 0;