mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1265 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -172,10 +172,10 @@ static void *SWITCH_THREAD_FUNC switch_event_thread(switch_thread *thread, void
|
||||
any = len[1] + len[2] + len[0];
|
||||
|
||||
if (!any) {
|
||||
switch_yield(1000);
|
||||
if (THREAD_RUNNING != 1) {
|
||||
break;
|
||||
}
|
||||
switch_yield(1000);
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -197,6 +197,8 @@ static void *SWITCH_THREAD_FUNC switch_event_thread(switch_thread *thread, void
|
||||
THREAD_RUNNING--;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
THREAD_RUNNING = 0;
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user