Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It was only used in getAssetAsynchronously which spawned a task that either returns after finding the asset in the cache or added a task to another thread pool. Determining if a file exists is potentially slow on Windows and this thread pool potentially allowed the caller to be reponsive but it's also a source of potential deadlocks if the listener callback indirectly requests an asset load such as an addon's onInit script loading the JavaScript asset. The git logs don't go far enough back to determine whether the thread pool is intentional or vestigial.
- Loading branch information