Add fsctl shutdown_check to see if we're currently shutting down

This commit is contained in:
Mathieu Rene
2010-06-29 23:00:24 -04:00
parent 13a5f4eee0
commit 6bd82d1fb4
3 changed files with 8 additions and 1 deletions

View File

@@ -1772,6 +1772,9 @@ SWITCH_DECLARE(int32_t) switch_core_session_ctl(switch_session_ctl_t cmd, void *
}
}
break;
case SCSC_SHUTDOWN_CHECK:
newintval = !!switch_test_flag((&runtime), SCF_SHUTDOWN_REQUESTED);
break;
case SCSC_SHUTDOWN:
#ifdef _MSC_VER