Fix: sessiond: ust session is inactive during ust_app_global_update
[lttng-tools.git] / src / bin / lttng-sessiond / dispatch.c
index 5777b3b85bcf89eb81ac749193989310a61beee0..ab6c34846bf315243942ef0afce7b7914bfd0550 100644 (file)
@@ -67,7 +67,8 @@ static void update_ust_app(int app_sock)
                        continue;
                }
                session_lock(sess);
-               if (!sess->active || !sess->ust_session) {
+               if (!sess->active || !sess->ust_session ||
+                               !sess->ust_session->active) {
                        goto unlock_session;
                }
 
This page took 0.0266 seconds and 4 git commands to generate.