Mercurial > hg > freeDiameter
diff libfdcore/p_cnx.c @ 1190:6a1042d8075b
Replace FDEV_TERMINATE events with calls to fd_core_shutdown to handle the core state properly
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Mon, 10 Jun 2013 16:44:18 +0800 |
parents | 436e4342ecd0 |
children | 8c4dd4b693c6 |
line wrap: on
line diff
--- a/libfdcore/p_cnx.c Mon Jun 10 16:23:09 2013 +0800 +++ b/libfdcore/p_cnx.c Mon Jun 10 16:44:18 2013 +0800 @@ -313,7 +313,7 @@ fd_cnx_destroy(cnx); /* Generate a termination event */ - CHECK_FCT_DO(fd_event_send(fd_g_config->cnf_main_ev, FDEV_TERMINATE, 0, NULL), ); + CHECK_FCT_DO(fd_core_shutdown(), ); } return NULL;