X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fctf-trace.c;h=7c882620e36fb11d8e2030b724df7ac64b4b2f89;hb=a08107cc300e4f8ce59004d0027198e93191c3a1;hp=d965cec8caa72aa9dcf771282f399a63868a27ab;hpb=a12886a5728de2b48c895abb8a9799e111e8f40b;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/ctf-trace.c b/src/bin/lttng-relayd/ctf-trace.c index d965cec8c..7c882620e 100644 --- a/src/bin/lttng-relayd/ctf-trace.c +++ b/src/bin/lttng-relayd/ctf-trace.c @@ -183,9 +183,10 @@ int ctf_trace_close(struct ctf_trace *trace) cds_list_for_each_entry_rcu(stream, &trace->stream_list, stream_node) { /* - * Close the stream. + * Close stream since the connection owning the trace is being + * torn down. */ - stream_close(stream); + try_stream_close(stream); } rcu_read_unlock(); /*