Skip to content

URLSessionTask delegate methods are not called on Linux. #5187

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

Open
leuski opened this issue Mar 12, 2025 · 0 comments
Open

URLSessionTask delegate methods are not called on Linux. #5187

leuski opened this issue Mar 12, 2025 · 0 comments

Comments

@leuski
Copy link

leuski commented Mar 12, 2025

URLSessionTask used to not have a delegate field and delegate (hah!) all delegate calls to the session delegate. Now there is a delegate field in URLSessionTask, but the code is still designed to call the session delegate. So if one sets a delegate on the URLSessionTask object, this delegate methods are not called.

@leuski leuski changed the title URLTaskDelegate methods are not called on Linux. URLSessionTask delegate methods are not called on Linux. Mar 12, 2025
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

No branches or pull requests

1 participant