ShowImage: sometimes is slow to open the requested image.
|Reported by:||Janus||Owned by:||leavengood|
|Has a Patch:||no||Platform:||All|
Sometimes the preloaded images are loaded before the requested one.
How to reproduce this (In a single or dual core machine):
- put in a folder a small image and a very big one.
- open the small one.
- ShowImage took a very long time to open (time to load the big image + the small one)
This happen when the loading thread is scheduled after the insertion of the preloaded images in the queue