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

This commit is contained in:
Mathieu Rene committed 2010-06-29 23:03:10 -04:00
1 parent 13a5f4eee0
commit 6bd82d1fb4
3 files changed
+8 -1

No files matched your search

+3
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