From: Jérémie Galarneau Date: Thu, 20 Oct 2016 21:05:14 +0000 (-0400) Subject: Fix: stop sessiond threads on health thread error X-Git-Tag: v2.8.3~9 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0016e083e00de387b445e84e61e906668664f921;p=lttng-tools.git Fix: stop sessiond threads on health thread error Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index e4aaa9928..e810d5614 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -4374,7 +4374,7 @@ error: } lttng_poll_clean(&events); - + stop_threads(); rcu_unregister_thread(); return NULL; }