Fix: sessiond: ust session is inactive during ust_app_global_update
[lttng-tools.git] / src / bin / lttng-sessiond / dispatch.c
index bfe4455b59a9813174469e14c0688d3bddc1d942..7dc74c324eca79457d050b1d85ffeb7f7cac23cb 100644 (file)
@@ -61,7 +61,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.024145 seconds and 4 git commands to generate.