mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
Add fsctl shutdown_check to see if we're currently shutting down
This commit is contained in:
1 parent
13a5f4eee0
commit
6bd82d1fb4
3 files changed
+8
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user