lock SignalVector with shared_lock to allow reading on other threads

This commit is contained in:
fourtf
2019-07-31 22:29:07 +02:00
parent 4e4c7d4c0b
commit fff979b3c0
12 changed files with 120 additions and 35 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ PingModel *PingController::createModel(QObject *parent)
bool PingController::isMuted(const QString &channelName)
{
for (const auto &channel : this->channelVector.getVector())
for (const auto &channel : this->channelVector)
{
if (channelName.toLower() == channel.toLower())
{