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

Ensure the invalid URLSeesion will receive the cancel callback and does not trigger the any exception from framework #3205

Merged
merged 1 commit into from Apr 8, 2021

Conversation

dreampiggy
Copy link
Contributor

@dreampiggy dreampiggy commented Apr 6, 2021

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 / refers to the following issues: ...

Pull Request Description

This fix the NSException from URLSession in rare cases:

Task created in a session that has been invalidated

@dreampiggy dreampiggy added this to the 5.11.1 milestone Apr 6, 2021
…es not trigger the any exception from framework
@dreampiggy dreampiggy merged commit 15e16e9 into SDWebImage:master Apr 8, 2021
@dreampiggy dreampiggy deleted the bugfix_session_invalid branch April 8, 2021 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant