mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-01 06:21:07 +00:00
Merge pull request #282 in FS/freeswitch from ~CHEWI/freeswitch:feature/FS-7645-ctrl-c to master
* commit '69ac02bb39c9f31ca5380c34a1671b0d9b37de7e': FS-7645: Allow Ctrl+C (SIGINT) when running in foreground without console (-nf -nc)
This commit is contained in:
commit
9ebb6f8257
@ -1196,6 +1196,10 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (nc && nf) {
|
||||||
|
signal(SIGINT, handle_SIGILL);
|
||||||
|
}
|
||||||
|
|
||||||
switch_core_runtime_loop(nc);
|
switch_core_runtime_loop(nc);
|
||||||
|
|
||||||
destroy_status = switch_core_destroy();
|
destroy_status = switch_core_destroy();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user