FSCORE-297

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12361 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-03-02 23:55:00 +00:00
1 parent 2dbc6f85ca
commit 0c9541e985
3 files changed
+10 -5

No files matched your search

+1 -1
View File
@@ -174,7 +174,7 @@ SWITCH_DECLARE(void) switch_micro_sleep(switch_interval_time_t t)
SWITCH_DECLARE(void) switch_sleep(switch_interval_time_t t)
{
if (t < 1000 || t >= 10000) {
if (!globals.RUNNING || t < 1000 || t >= 10000) {
do_sleep(t);
return;
}