Remove ht-cleanup thread
[lttng-tools.git] / src / bin / lttng-sessiond / buffer-registry.cpp
index 3928818272e1f334871b749f4684a38a813b2389..3daca3c95b3c381da7ada09e1a0c93c9de786285 100644 (file)
@@ -594,7 +594,7 @@ static void buffer_reg_session_destroy(struct buffer_reg_session *regp,
        }
        rcu_read_unlock();
 
-       ht_cleanup_push(regp->channels);
+       lttng_ht_destroy(regp->channels);
 
        switch (domain) {
        case LTTNG_DOMAIN_UST:
@@ -737,6 +737,6 @@ void buffer_reg_pid_destroy(struct buffer_reg_pid *regp)
 void buffer_reg_destroy_registries(void)
 {
        DBG3("Buffer registry destroy all registry");
-       ht_cleanup_push(buffer_registry_uid);
-       ht_cleanup_push(buffer_registry_pid);
+       lttng_ht_destroy(buffer_registry_uid);
+       lttng_ht_destroy(buffer_registry_pid);
 }
This page took 0.023585 seconds and 4 git commands to generate.