From: David Goulet Date: Mon, 14 Jul 2014 20:37:05 +0000 (-0400) Subject: Fix: relayd stream set close_flag on stream close X-Git-Tag: v2.4.2~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=11bc4a9184f7df69603cad32f582b907233d03bf;p=lttng-tools.git Fix: relayd stream set close_flag on stream close Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-relayd/stream.c b/src/bin/lttng-relayd/stream.c index fff8065b0..410fae861 100644 --- a/src/bin/lttng-relayd/stream.c +++ b/src/bin/lttng-relayd/stream.c @@ -122,6 +122,7 @@ int stream_close(struct relay_session *session, struct relay_stream *stream) assert(ctf_trace); ctf_trace_put_ref(ctf_trace); + stream->close_flag = 1; stream->terminated_flag = 1; ret = 0;