Fix: missing health exit in registration app thread
authorDavid Goulet <dgoulet@efficios.com>
Thu, 13 Dec 2012 21:55:08 +0000 (16:55 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 13 Dec 2012 21:55:08 +0000 (16:55 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/main.c

index 8a1f753114bfe3bfaa8cd5629ea5c7e199c29aab..cc93da881906fb459b4199e7625aef279928c8db 100644 (file)
@@ -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;
 }
This page took 0.037667 seconds and 4 git commands to generate.