mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-25 03:10:39 +00:00
catch up with api, add option to switch_core_destroy call.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3400 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6dd370b007
commit
9687f37f92
@ -139,7 +139,7 @@ void WINAPI ServiceCtrlHandler( DWORD control )
|
|||||||
case SERVICE_CONTROL_SHUTDOWN:
|
case SERVICE_CONTROL_SHUTDOWN:
|
||||||
case SERVICE_CONTROL_STOP:
|
case SERVICE_CONTROL_STOP:
|
||||||
//Shutdown freeswitch
|
//Shutdown freeswitch
|
||||||
switch_core_destroy();
|
switch_core_destroy(0);
|
||||||
//set service status valuse
|
//set service status valuse
|
||||||
status.dwCurrentState = SERVICE_STOPPED;
|
status.dwCurrentState = SERVICE_STOPPED;
|
||||||
status.dwWin32ExitCode = 0;
|
status.dwWin32ExitCode = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user