From: David Goulet Date: Thu, 13 Dec 2012 21:55:08 +0000 (-0500) Subject: Fix: missing health exit in registration app thread X-Git-Tag: v2.1.0~54 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=152413a01067652b58ec4e682c598396af37a01c;ds=sidebyside Fix: missing health exit in registration app thread Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 8a1f75311..cc93da881 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -1513,7 +1513,6 @@ error: health_error(&health_thread_app_reg); ERR("Health error occurred in %s", __func__); } - health_exit(&health_thread_app_reg); /* Notify that the registration thread is gone */ notify_ust_apps(0); @@ -1538,6 +1537,7 @@ error_poll_add: error_listen: error_create_poll: DBG("UST Registration thread cleanup complete"); + health_exit(&health_thread_app_reg); return NULL; }