summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6c50984)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ /*
+ * We do NOT rmdir rundir nor the relayd path because there are
+ * other processes using them.
+ */
+
lttng_poll_clean(&events);
rcu_unregister_thread();
lttng_poll_clean(&events);
rcu_unregister_thread();
DBG("Removing directory %s", path);
(void) rmdir(path);
DBG("Removing directory %s", path);
(void) rmdir(path);
+ /*
+ * We do NOT rmdir rundir because there are other processes
+ * using it, for instance lttng-relayd, which can start in
+ * parallel with this teardown.
+ */
+
free(rundir);
DBG("Cleaning up all sessions");
free(rundir);
DBG("Cleaning up all sessions");