Commit febeded0 authored by Andreas Traczyk's avatar Andreas Traczyk

renderers: don't wait for call state to remove renderers

Change-Id: Ibf490343ef23f053ffebe94dfed5716908a19185
parent 4ec76a67
......@@ -426,18 +426,15 @@ void VideoRendererManagerPrivate::removeRenderer(Video::Renderer* r)
t->wait();
}
if (c && c->lifeCycleState() == Call::LifeCycleState::FINISHED) {
m_hRendererIds.remove(r);
m_hRenderers.remove(id);
m_hThreads[r] = nullptr;
if (t) {
t->deleteLater();
}
m_hRendererIds.remove(r);
m_hRenderers.remove(id);
r->deleteLater();
m_hThreads[r] = nullptr;
if (t) {
t->deleteLater();
}
r->deleteLater();
}
void VideoRendererManagerPrivate::stoppedDecoding(const QString& id, const QString& shmPath)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment