X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fstream.c;h=3f76b1e6a63cb6093eafb443689f087d2805fdb1;hp=af4ef1bbb80d9e17fe331298c4fac558d0795d3c;hb=9237e6a108fdba7acc014f739d0569565552bdec;hpb=7591bab11eceedc6a0d1e02fd6f85592267a63b5 diff --git a/src/bin/lttng-relayd/stream.c b/src/bin/lttng-relayd/stream.c index af4ef1bbb..3f76b1e6a 100644 --- a/src/bin/lttng-relayd/stream.c +++ b/src/bin/lttng-relayd/stream.c @@ -332,6 +332,7 @@ void stream_close(struct relay_stream *stream) { DBG("closing stream %" PRIu64, stream->stream_handle); pthread_mutex_lock(&stream->lock); + stream->closed = true; relay_index_close_all(stream); pthread_mutex_unlock(&stream->lock); stream_put(stream);