Skip to content

Remove unnecessary assertion that CancellationSeries is disposed#58426

Merged
sharwell merged 1 commit intodotnet:mainfrom
sharwell:unnecessary-assertion
Dec 20, 2021
Merged

Remove unnecessary assertion that CancellationSeries is disposed#58426
sharwell merged 1 commit intodotnet:mainfrom
sharwell:unnecessary-assertion

Conversation

@sharwell
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

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

@sharwell
Copy link
Copy Markdown
Contributor 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