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.9.0~25 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=28538a70df05214b921deb8a02e078f5bba93d53;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 2752e9ff3..85a35183f 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -4325,7 +4325,7 @@ error: } lttng_poll_clean(&events); - + stop_threads(); rcu_unregister_thread(); return NULL; }