Put AppContext.OnProcessExit body inside a try/finally#1290
Put AppContext.OnProcessExit body inside a try/finally#1290MarcoRossignoli merged 1 commit intocoverlet-coverage:masterfrom
Conversation
|
Thank you for fixing it. |
|
When do we expect a new official nuget release with the corelib-related fixes to published? |
|
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. |
|
Is the code you're generating actually what's shown in the image above? return'ing out of a finally is invalid. |
|
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 😢 |
fixes #1287
cc: @ViktorHofer @stephentoub @jkotas