Fix: libc internal mutex races with run_as
[lttng-tools.git] / src / common / consumer.c
index 01ecc24462713715b54686de2fbb67d039eb026c..9eb24c7a49df195c08e644e1aaba000c710608b5 100644 (file)
@@ -1212,6 +1212,8 @@ void lttng_consumer_cleanup(void)
         * it.
         */
        lttng_ht_destroy(consumer_data.stream_list_ht);
+
+       run_as_destroy_worker();
 }
 
 /*
This page took 0.02355 seconds and 4 git commands to generate.