Skip to content

Commit

Permalink
Remove unused mutex from Emotes (Chatterino#3943)
Browse files Browse the repository at this point in the history
The mutex was initially used to limit access to the twitchEmotesCache_ member
but it's no longer necessary since it's been made a UniqueAccess type
  • Loading branch information
pajlada authored Sep 3, 2022
1 parent d849b97 commit a9fc9f9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/providers/twitch/TwitchEmotes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ class TwitchEmotes
Url getEmoteLink(const EmoteId &id, const QString &emoteScale);
UniqueAccess<std::unordered_map<EmoteId, std::weak_ptr<Emote>>>
twitchEmotesCache_;

std::mutex mutex_;
};

} // namespace chatterino

0 comments on commit a9fc9f9

Please sign in to comment.