Skip to content

texturecache: Remove duplicate art loader from async queue

Currently we always create a new MediaArtLoader, this messes up the AsyncQueue as it assumes it can clean up the queue by matching on the async object (the MediaArtLoader).

Add a specific remove queue function to help with this case.


When continuously scrolling the TextureCache queue was ever increasing as it did not remove items from the queue: new MediaArtLoader objects were created all the time, although they were for the same uri's.

The solution is kind of hacky and not in line with the AsyncQueue philosophy.

Edited by Marinus Schraal

Merge request reports