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

Put AppContext.OnProcessExit body inside a try/finally #1290

Merged

Conversation

MarcoRossignoli
Copy link
Collaborator

@MarcoRossignoli MarcoRossignoli commented Feb 5, 2022

@stephentoub
Copy link

Thank you for fixing it.

@stephentoub
Copy link

When do we expect a new official nuget release with the corelib-related fixes to published?

@MarcoRossignoli
Copy link
Collaborator Author

I'd like a test before release a new version, to be sure that is working as expected...is it possible that someone with more "knowledge" and a ready runtime env give it a try with the dogfood?
I'm a bit rusty with the new layout/build of runtime repo.

@MarcoRossignoli MarcoRossignoli merged commit c8eafe5 into coverlet-coverage:master Feb 5, 2022
@MarcoRossignoli MarcoRossignoli deleted the fixcorelibcov branch February 5, 2022 18:39
@stephentoub
Copy link

I'd like a test before release a new version, to be sure that is working as expected...is it possible that someone with more "knowledge" and a ready runtime env give it a try with the dogfood?

Sure, I can try on Monday.

@stephentoub
Copy link

Is the code you're generating actually what's shown in the image above? return'ing out of a finally is invalid.

@MarcoRossignoli
Copy link
Collaborator Author

MarcoRossignoli commented Feb 5, 2022

I've fixed...pair of issues, missing end finally and patch every return. Looks like ILSpy validation is not complete, sometimes it gives errors...not this time. Too much time far from IL generation 🙂

Also we don't have specific tests for the corelib custom case, it doesn't help.

Also wasn't able to run ILVerify on it 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix UnloadModule injection
2 participants