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

Clean up some lifetime state management in AbstractLanguageService #16985

Conversation

jasonmalinowski
Copy link
Member

This type follows the pattern that we assert in the finalizer that it
should have been cleaned up. If the type failed to initialize, we would
throw and crash the process even though the underlying failure is
already past at that point. I'm not saying we shouldn't crash there,
but that's a separate decision and we should then target the correct
place.

Review: @dotnet/roslyn-ide

@Pilchie Pilchie added this to the 2.1 milestone Feb 7, 2017
This type follows the pattern that we assert in the finalizer that it
should have been cleaned up. If the type failed to initialize, we would
throw and crash the process even though the underlying failure is
already past at that point. I'm not saying we shouldn't crash there,
but that's a separate decision and we should then target the correct
place.
@jasonmalinowski jasonmalinowski force-pushed the do-not-crash-if-something-else-goes-wrong branch from 0892cb1 to 81d1bc5 Compare March 22, 2017 00:37
@jasonmalinowski
Copy link
Member Author

@dotnet-bot test vsi please.

@jasonmalinowski jasonmalinowski modified the milestones: 15.3, 15.1 Mar 22, 2017
@jasonmalinowski
Copy link
Member Author

@dotnet-bot test vsi please.

@jasonmalinowski jasonmalinowski merged commit 5fc4424 into dotnet:master Apr 3, 2017
@jasonmalinowski jasonmalinowski deleted the do-not-crash-if-something-else-goes-wrong branch April 3, 2017 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants