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

Remove unnecessary assertion that CancellationSeries is disposed #58426

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

sharwell
Copy link
Member

This type functions correctly whether or not it is explicitly disposed.

This type functions correctly whether or not it is explicitly disposed.
@jasonmalinowski
Copy link
Member

@sharwell Was this breaking something or just general cleanup as you saw it as a part of something else?

@sharwell
Copy link
Member Author

We have some use cases/paths where this type is not disposed. If you try running local debug bits for extended periods of time, it will eventually crash.

@sharwell sharwell merged commit 421642e into dotnet:main Dec 20, 2021
@ghost ghost added this to the Next milestone Dec 20, 2021
@sharwell sharwell deleted the unnecessary-assertion branch December 20, 2021 20:25
@Cosifne Cosifne modified the milestones: Next, 17.1.P3 Jan 5, 2022
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.

3 participants