Fix: src.ctf.lttng-live: omitting stream end on stream hang up
[babeltrace.git] / src / plugins / ctf / lttng-live / viewer-connection.c
index 1ffba1cfc976f7b46e31ec3411c165f9f49f81b5..d96a225601ea3a2bc5eccb16a369a64cd5bdd8ad 100644 (file)
@@ -1217,6 +1217,7 @@ enum lttng_live_iterator_status lttng_live_get_next_index(
                index->offset = EOF;
                retstatus = LTTNG_LIVE_ITERATOR_STATUS_END;
                stream->state = LTTNG_LIVE_STREAM_EOF;
+               stream->has_stream_hung_up = true;
                break;
        case LTTNG_VIEWER_INDEX_ERR:
                BT_COMP_LOGE("get_next_index: error");
This page took 0.022915 seconds and 4 git commands to generate.