From: Jérémie Galarneau Date: Sat, 15 Nov 2014 04:35:45 +0000 (-0500) Subject: Fix: agent events HT should be destroyed from the cleanup thread X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=f8be902b22054782d4cc7b67781617030c49225e Fix: agent events HT should be destroyed from the cleanup thread Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/agent.c b/src/bin/lttng-sessiond/agent.c index 5cb8336c3..d7bc1b55c 100644 --- a/src/bin/lttng-sessiond/agent.c +++ b/src/bin/lttng-sessiond/agent.c @@ -955,7 +955,7 @@ void agent_destroy(struct agent *agt) } rcu_read_unlock(); - lttng_ht_destroy(agt->events); + ht_cleanup_push(agt->events); } /*