Skip to content
Snippets Groups Projects
Commit 4d775ea8 authored by Stepan Salenikovich's avatar Stepan Salenikovich Committed by gerrit2
Browse files

call: update conference state to OVER on remove

The conference state is never updated when its removed since
no changed signal is emitted with an updated state. This sets
the state to OVER when we receive the "conferenceRemoved" signal.

The renderer must be removed with deleteLater() due to pending
slot/signal connections.

Tuleap: #644
Change-Id: I23420755fe248ca942a2771c07f657a3c821001a
parent cd2aabec
No related branches found
No related tags found
No related merge requests found
......@@ -842,6 +842,11 @@ void CallModelPrivate::removeConference(Call* call)
return;
}
removeCall(call,true);
// currently the daemon does not emit a Call/Conference changed signal to indicate that the
// conference is over so we change the conf state here (since this is called when we get the
// "removeConference" signal from the daemon)
call->d_ptr->changeCurrentState(Call::State::OVER);
}
......
......@@ -334,7 +334,7 @@ void VideoRendererManagerPrivate::removeRenderer(Video::Renderer* r)
t->deleteLater();
}
delete r;
r->deleteLater();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment