Fix: stop lttng-relayd threads on health thread error
[lttng-tools.git] / src / bin / lttng-relayd / health-relayd.c
index be0b0b12400897b5f35a3633c653db3a2ca18add..f1354c195934f258f43a6c6ae49c4cf03d46b6da 100644 (file)
@@ -411,8 +411,9 @@ restart:
                new_sock = -1;
        }
 
-exit:
 error:
+       lttng_relay_stop_threads();
+exit:
        if (err) {
                ERR("Health error occurred in %s", __func__);
        }
This page took 0.023007 seconds and 4 git commands to generate.