mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FSCORE-297
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12361 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user