1
0
Fork 0

set the status of terminated universes

This commit is contained in:
Kevin Matz 2022-11-21 14:40:38 -05:00
parent f27faa4fe6
commit 81e68203ff
1 changed files with 2 additions and 1 deletions

View File

@ -249,7 +249,8 @@ void Receiver::dataFrameHandler(ACN::PDU::Message<DATA::Pdu> frame) {
/// > universe synchronization without waiting for a timeout to occur.
if (source->options.stream_terminated)
{
auto universe = universes_.at(source->universe);
/// Set the universe's status to TERMINATED.
universe->setStatus(Universe::Status::sACN_TERMINATED);
/// Terminated universe may be deleted as sources.
/// The universe may keep itself, in a terminated state, for hold-last-look.
universes_[source->universe]->deleteSourceUniverse(*source);