Open cmam opened 3 years ago
This does make sense. If you can dig into the preloadjs code and see what can be done to avoid it, that would be great. The main devs are on to other things but we are doing our best to maintain issues - somewhat as a community. So ideally, that would be through a pull request. Cheers.
Issue Details
1.0.1
When having multiple LoadQueue instances, if manifests contain the same file, or the same file with different ID is loaded on a queue, the queue progress is >= 1, causing relevant checks to fail (e.g. is my sound queue ready?). This means that, per queue, the
numItems
is less thannumLoadedItems
resulting in theloaded
property beingfalse
andprogress
being something greater than 1.What's concerning is that if I load a manifest on another queue, the "original" queue that happens to have loaded a file from that manifest (i.e. same "src" property), gets messed up as described above.
Example:
I hope it makes sense. I guess this has something to do with the global sound registering part, recognizing already loaded "src" paths, but I expect it shouldn't affect the other load queues.
Debian Testing, Google Chrome 91.0.4472.114.
None, other than having to create duplicate files in different paths in order to avoid this.