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
@@ -107,7 +107,7 @@ public:
if (!this->emotesChecked_)
{
const auto &accvec =
getApp()->accounts->twitch.accounts.getVector();
getApp()->accounts->twitch.accounts;
for (const auto &acc : accvec)
{
const auto &accemotes = *acc->accessEmotes();