Fix: libc internal mutex races with run_as
[lttng-tools.git] / src / common / consumer.c
index 0299d5e952cfd5c946ef91916103e8f261b02623..857201def7d9d35d1228e23e9ed4d2472b4f2088 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.023619 seconds and 5 git commands to generate.