diff --git a/changelog.md b/changelog.md index bc48bbb..0be0458 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,5 @@ # Changelog -## v4.2.7 (2024-08-04) +## v4.2.7 (2024-08-08) * Fixed a crash when Last Page Search reaches infinite pages * Fixed a rare startup crash caused by Level Lists * Changed Creator Point Breakdown so it doesn't consider Legendary levels Epic diff --git a/src/managers/BetterInfoCache.cpp b/src/managers/BetterInfoCache.cpp index d7003a3..49bec66 100644 --- a/src/managers/BetterInfoCache.cpp +++ b/src/managers/BetterInfoCache.cpp @@ -302,11 +302,14 @@ size_t BetterInfoCache::claimableListsCount() { void BetterInfoCache::downloadClaimableLists() { if(m_claimableLists.empty()) return; + static std::set downloadingLists; std::vector toDownload; for(auto [listID, _] : m_claimableLists) { if(_ != nullptr) continue; + if(downloadingLists.contains(listID)) continue; toDownload.push_back(listID); + downloadingLists.insert(listID); } std::thread([this, toDownload = std::move(toDownload)] {