stop timer thread
[deliverable/lttng-tools.git] / src / bin / lttng-sessiond / cmd.c
index cb32f7f7fb63419373af1be65635576a13cfc49a..f97537377d6ca5c25f1521852501a14561d57b3a 100644 (file)
@@ -53,6 +53,7 @@
 #include "notification-thread-commands.h"
 #include "rotate.h"
 #include "rotation-thread.h"
+#include "sessiond-timer.h"
 
 #include "cmd.h"
 
@@ -2766,6 +2767,10 @@ int cmd_destroy_session(struct ltt_session *session, int wpipe)
                }
        }
 
+       if (session->rotate_relay_pending_timer_enabled) {
+               sessiond_timer_rotate_pending_stop(session);
+       }
+
        /* Clean kernel session teardown */
        kernel_destroy_session(ksess);
 
This page took 0.027483 seconds and 5 git commands to generate.