From: Michael Jerris Date: Sat, 18 Nov 2006 06:43:37 +0000 (+0000) Subject: catch up with api, add option to switch_core_destroy call. X-Git-Tag: v1.0-beta1~1721 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9687f37f926415f366440ca571b776bc7688cd68;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/switch.c b/src/switch.c index 604add77a9..33f5881b0a 100644 --- a/src/switch.c +++ b/src/switch.c @@ -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;