From 9687f37f926415f366440ca571b776bc7688cd68 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sat, 18 Nov 2006 06:43:37 +0000 Subject: [PATCH] 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 --- src/switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;