mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
Issue #2928 - Check mCacheQueue size before removing entries.
Resolves #2928
This commit is contained in:
parent
c88750f498
commit
f7820b0ab5
1 changed files with 1 additions and 1 deletions
|
|
@ -1949,7 +1949,7 @@ imgLoader::RemoveFromCache(imgCacheEntry* entry)
|
|||
if (entry->HasNoProxies()) {
|
||||
LOG_STATIC_FUNC(gImgLog,
|
||||
"imgLoader::RemoveFromCache removing from tracker");
|
||||
if (mCacheTracker) {
|
||||
if (mCacheTracker && queue.GetSize() > 0) {
|
||||
mCacheTracker->RemoveObject(entry);
|
||||
}
|
||||
queue.Remove(entry);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue