Fix: Send remove channel to notification thread only when necessary
[lttng-tools.git] / src / bin / lttng-sessiond / kernel-consumer.c
index 067652b811def6d6a65a4604c88b8b1f5cd82873..0f59aa24f51decc781c760ddef1007399851355d 100644 (file)
@@ -168,6 +168,9 @@ int kernel_consumer_add_channel(struct consumer_socket *sock,
                ret = -1;
                goto error;
        }
+
+       channel->published_to_notification_thread = true;
+
 error:
        free(pathname);
        return ret;
This page took 0.023469 seconds and 4 git commands to generate.