mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
Add fsctl shutdown_check to see if we're currently shutting down
This commit is contained in:
@@ -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