Stop sessions before destroying on teardown of session daemon
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 579d49ab8d5c1eff1c16ed8425e4f257dedd687a..6d0fb42e393e8ab072c25c5016c9eb776073e0c6 100644 (file)
@@ -1705,6 +1705,7 @@ static void destroy_all_sessions_and_wait(void)
                if (session->destroyed) {
                        goto unlock_session;
                }
+               (void) cmd_stop_trace(session);
                (void) cmd_destroy_session(session,
                                notification_thread_handle);
        unlock_session:
This page took 0.02375 seconds and 4 git commands to generate.