Module: kamailio Branch: master Commit: 5a142f7cc2899090b007654529f08b1b2f4e70b1 URL: https://github.com/kamailio/kamailio/commit/5a142f7cc2899090b007654529f08b1b2f4e70b1
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2015-11-22T10:02:36+01:00 core: relocate dbg message before killing children at shut down - can race with per module log level, debugger module can be destroyed --- Modified: main.c --- Diff: https://github.com/kamailio/kamailio/commit/5a142f7cc2899090b007654529f08b1b2f4e70b1.diff Patch: https://github.com/kamailio/kamailio/commit/5a142f7cc2899090b007654529f08b1b2f4e70b1.patch --- diff --git a/main.c b/main.c index 94f64ff..da30f12 100644 --- a/main.c +++ b/main.c @@ -752,9 +752,9 @@ void handle_sigs(void) } LM_INFO("terminating due to SIGCHLD\n"); #endif + LM_DBG("terminating due to SIGCHLD\n"); /* exit */ shutdown_children(SIGTERM, 1); - LM_DBG("terminating due to SIGCHLD\n"); if (WIFSIGNALED(chld_status)) { exit(1); } else { _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
