Fix: consumerd: leak of tracing buffers on relayd connectivity issue
[lttng-tools.git] / src / common / consumer / consumer.c
index f5c532714cdedfd8f624295d2274a5402e96b640..ff88c7f1ef31f0ef33ea5ab8d26e8c09b81813ca 100644 (file)
@@ -179,13 +179,6 @@ static void clean_channel_stream_list(struct lttng_consumer_channel *channel)
        /* Delete streams that might have been left in the stream list. */
        cds_list_for_each_entry_safe(stream, stmp, &channel->streams.head,
                        send_node) {
-               /*
-                * Once a stream is added to this list, the buffers were created so we
-                * have a guarantee that this call will succeed. Setting the monitor
-                * mode to 0 so we don't lock nor try to delete the stream from the
-                * global hash table.
-                */
-               stream->monitor = 0;
                consumer_stream_destroy(stream, NULL);
        }
 }
This page took 0.022758 seconds and 4 git commands to generate.