Fix: ask new streams HUP
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 1548dc5df79628e6dd2df5a7b582a5f2cfe7d537..022adf33edca6c4b51731d208e25c0a12c25eb3d 100644 (file)
@@ -1907,7 +1907,7 @@ static void *thread_dispatch_ust_registration(void *data)
                                 * Don't care about return value. Let the manage apps threads
                                 * handle app unregistration upon socket close.
                                 */
-                               (void) ust_app_register_done(app->sock);
+                               (void) ust_app_register_done(app);
 
                                /*
                                 * Even if the application socket has been closed, send the app
@@ -5641,6 +5641,7 @@ exit:
        cleanup();
        rcu_thread_offline();
        rcu_unregister_thread();
+       rcu_barrier();
        if (!ret) {
                exit(EXIT_SUCCESS);
        }
This page took 0.024377 seconds and 4 git commands to generate.