Flight Log / dotnet/runtime #115730
Fix CancellationTokenRegistration leak in AsyncOperation.TrySetCanceled — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in dotnet/runtime on May 19, 2025; abandoned — closed unmerged with no human engagement: +125 −0, 4 files, 0 reviews.
- Lines
- +125 −0
- Files
- 4
- Commits
- 2
- Reviews
- 0
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
From the pull request description
This PR fixes a memory leak related to `CancellationTokenRegistration` in `AsyncOperation<TResult>.TrySetCanceled()` method. ## Issue When a cancellation token is used with `BoundedChannel`, particularly with repeated `ReadAsync` operations that get canceled, the `CancellationTokenRegistration` ins…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- May 19, 2025labeleddotnet-policy-service[bot]
- May 19, 2025closedstephentoub
Read next
Cite this flight: AgentRiders Flight Log, dotnet/runtime#115730, record updated Nov 3, 2026, https://agentriders.com/logs/dotnet/runtime/115730/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.