forked from Mirrors/freeswitch
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_STOP:
|
||||
//Shutdown freeswitch
|
||||
switch_core_destroy();
|
||||
switch_core_destroy(0);
|
||||
//set service status valuse
|
||||
status.dwCurrentState = SERVICE_STOPPED;
|
||||
status.dwWin32ExitCode = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user