mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-07 15:11:35 +00:00
make me ill
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9632 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3107a1a9fe
commit
11eaa4e047
@ -65,7 +65,7 @@ static HANDLE shutdown_event;
|
|||||||
/* signal handler for when freeswitch is running in background mode.
|
/* signal handler for when freeswitch is running in background mode.
|
||||||
* signal triggers the shutdown of freeswitch
|
* signal triggers the shutdown of freeswitch
|
||||||
# */
|
# */
|
||||||
static void handle_SIGTERM(int sig)
|
static void handle_SIGILL(int sig)
|
||||||
{
|
{
|
||||||
int32_t arg = 0;
|
int32_t arg = 0;
|
||||||
if (sig);
|
if (sig);
|
||||||
@ -123,7 +123,7 @@ static int freeswitch_kill_background()
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
/* for unix, send the signal to kill. */
|
/* for unix, send the signal to kill. */
|
||||||
kill(pid, SIGTERM);
|
kill(pid, SIGILL);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -547,7 +547,7 @@ int main(int argc, char *argv[])
|
|||||||
return 255;
|
return 255;
|
||||||
}
|
}
|
||||||
|
|
||||||
signal(SIGTERM, handle_SIGTERM);
|
signal(SIGILL, handle_SIGILL);
|
||||||
|
|
||||||
if (nc) {
|
if (nc) {
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user