-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pointer double free issue with ImagePrefetcher #1109
Comments
Each prefetcher instance runs on an independent serial queue, while they are using the same image downloader. When downloading images, the downloader concurrently overwrites the same task's |
Thanks for reporting this. I will check it as soon as I can. |
Should be fixed by making all prefetcher use the same queue. |
Will the new version release in coming days? |
5.1.1 was released. |
Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.
Issue Description
What
Crashed when prefetching images in a row.
Reproduce
You can test it on the latest Kingfisher codebase in
ImagePrefetcherTests.swift
.You may need to run it serveral times before the crashed happened.
Other comment
The text was updated successfully, but these errors were encountered: