fix some crashes, mostly related to network requests (#6187)
This commit is contained in:
@@ -440,6 +440,8 @@ void SeventvEmotes::getEmoteSet(
|
||||
getApp()->getSeventvAPI()->getEmoteSet(
|
||||
emoteSetId,
|
||||
[callback = std::move(successCallback), emoteSetId](const auto &json) {
|
||||
assert(!isAppAboutToQuit());
|
||||
|
||||
auto parsedEmotes = json["emotes"].toArray();
|
||||
|
||||
auto emoteMap = parseEmotes(parsedEmotes, false);
|
||||
|
||||
Reference in New Issue
Block a user