Skip to content
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

#1909: Crash on multiple concurrent downloads when accessing self.URLOperations dictionary #1911

Merged
merged 1 commit into from Jul 24, 2017

Conversation

disaabler
Copy link

New Pull Request Checklist

  • I have read and understood the CONTRIBUTING guide

  • I have read the Documentation

  • I have searched for a similar pull request in the project and found none

  • I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

  • I have added the required tests to prove the fix/feature I am adding

  • I have updated the documentation (if necessary)

  • I have run the tests and they pass

  • I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: ...

Pull Request Description

...

Added barrier before accessing self.URLOperations in SDWebImageDownloaderOperation.completionHandler

@codecov-io
Copy link

Codecov Report

Merging #1911 into master will decrease coverage by 0.57%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1911      +/-   ##
==========================================
- Coverage    76.6%   76.02%   -0.58%     
==========================================
  Files          27       27              
  Lines        2513     2515       +2     
==========================================
- Hits         1925     1912      -13     
- Misses        588      603      +15
Impacted Files Coverage Δ
SDWebImage/SDWebImageDownloader.m 82.12% <100%> (+0.2%) ⬆️
SDWebImage/SDImageCache.m 70.63% <0%> (-3.97%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 041842b...cf963c0. Read the comment docs.

@qclmnt
Copy link

qclmnt commented Jun 14, 2017

+1 for the Pull Request, we do have the same crash on [SDWebImageDownloader addProgressCallback:completedBlock:forURL:createCallback:]

@guidev guidev mentioned this pull request Jun 28, 2017
3 tasks
@guidev
Copy link

guidev commented Jun 28, 2017

+1

vdugnist pushed a commit to amyhametov/SDWebImage that referenced this pull request Jul 4, 2017
@bpoplauschi bpoplauschi added this to the 4.1.0 milestone Jul 24, 2017
@bpoplauschi bpoplauschi merged commit add6fc8 into SDWebImage:master Jul 24, 2017
@bpoplauschi
Copy link
Member

Good catch @disaabler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants