mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Issue #2928 - Always refresh dirty queue.
This commit is contained in:
parent
7332833ecc
commit
252cbabfd4
1 changed files with 4 additions and 3 deletions
|
|
@ -1944,12 +1944,13 @@ imgLoader::RemoveFromCache(imgCacheEntry* entry)
|
|||
"imgLoader::RemoveFromCache", "entry's uri",
|
||||
key.Spec());
|
||||
|
||||
if (queue.IsDirty()) {
|
||||
queue.Refresh();
|
||||
}
|
||||
|
||||
if (entry->HasNoProxies()) {
|
||||
LOG_STATIC_FUNC(gImgLog,
|
||||
"imgLoader::RemoveFromCache removing from tracker");
|
||||
if (queue.IsDirty()) {
|
||||
queue.Refresh();
|
||||
}
|
||||
if (mCacheTracker) {
|
||||
mCacheTracker->RemoveObject(entry);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue