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:
Michael Jerris 2006-11-18 06:43:37 +00:00
parent 6dd370b007
commit 9687f37f92
1 changed files with 1 additions and 1 deletions

View File

@ -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;