1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-08 17:45:25 +02:00

avmodel.cpp: Segmentation fault error: mutex missing

Change-Id: Id0994bf32dccbc35422d8b96deeaeebebf8d61bc
This commit is contained in:
Nicolas Vengeon 2023-02-03 11:29:37 -05:00 committed by Sébastien Blin
parent 2853d185b8
commit 08cb68366f

View file

@ -196,6 +196,7 @@ AVModel::getRenderersInfo(QString id)
void void
AVModel::updateRenderersFPSInfo(QString rendererId) AVModel::updateRenderersFPSInfo(QString rendererId)
{ {
std::unique_lock<std::mutex> lk(pimpl_->renderers_mtx_);
auto it = std::find_if(pimpl_->renderers_.begin(), auto it = std::find_if(pimpl_->renderers_.begin(),
pimpl_->renderers_.end(), pimpl_->renderers_.end(),
[&rendererId](const auto& c) { [&rendererId](const auto& c) {