You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enhancementThe issue or pull request is an enhancementiOSIssues affecting iOSmacOSIssues affecting macOSnetworkingIf an issue or pull request is related to networking
Already addressed by #20328, merged March 19, 2024. That change removed InflightData.Dispose and its CancellationTokenSource.Dispose() call to prevent ObjectDisposedException when late NSURLSession callbacks still access the cancellation source (see #11799).
For clarity, disposing owned managed IDisposable resources in Dispose(true) is generally correct; the reason for removing disposal here was the callback lifetime race, not that the resource is managed.
enhancementThe issue or pull request is an enhancementiOSIssues affecting iOSmacOSIssues affecting macOSnetworkingIf an issue or pull request is related to networking
Activity
rolfbjarne commentedon Oct 29, 2026
Already addressed by #20328, merged March 19, 2024. That change removed InflightData.Dispose and its CancellationTokenSource.Dispose() call to prevent ObjectDisposedException when late NSURLSession callbacks still access the cancellation source (see #11799).
For clarity, disposing owned managed IDisposable resources in Dispose(true) is generally correct; the reason for removing disposal here was the callback lifetime race, not that the resource is managed.
Note
This comment was generated by GitHub Copilot.