-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
version 8.3.2
Hello, I am using ImagePrefetcher to preload images while simultaneously using retrieveImage. Both addresses are the same. In a multi-threaded environment, this may result in two sessionTasks being added via addDownloadTask. However, since the same downloader's sessionDelegate maintains a map of URLs to tasks, one task will eventually be overwritten, causing external callbacks to be lost. How should I use this library to avoid this issue? If I use two downloaders, it would lead to downloading the same image twice even under normal circumstances, which is not what I want. What should I do?
Metadata
Metadata
Assignees
Labels
No labels