Fix: consumerd: leak of tracing buffers on relayd connectivity issue
[lttng-tools.git] / src / common / consumer / consumer.cpp
index ed844f8dfd8a4d27826ea6b8644d04fc244b0014..1da243601cd7ff3c72fc8febb5d6c11f2f150c4b 100644 (file)
@@ -178,13 +178,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, nullptr);
        }
 }
This page took 0.024604 seconds and 4 git commands to generate.