Skip to content

Fix releasing of file handle in binder tracing - #39974

Merged
elinor-fung merged 3 commits into
dotnet:masterfrom
elinor-fung:fix39609
Jul 28, 2020
Merged

Fix releasing of file handle in binder tracing#39974
elinor-fung merged 3 commits into
dotnet:masterfrom
elinor-fung:fix39609

Conversation

@elinor-fung

@elinor-fung elinor-fung commented Jul 27, 2020

Copy link
Copy Markdown
Member

AssemblyBindOperation was only releasing the file handle if binder tracing was on...

Fix #39609

cc @vitek-karas @janvorli

Not sure if there's a good / reliable way to add a test for this.

@elinor-fung elinor-fung added the area-AssemblyLoader-coreclr only use for closed issues label Jul 27, 2020
@elinor-fung elinor-fung added this to the 5.0.0 milestone Jul 27, 2020
@ghost

ghost commented Jul 27, 2020

Copy link
Copy Markdown

Tagging subscribers to this area: @vitek-karas, @agocke
See info in area-owners.md if you want to be subscribed.

@vitek-karas
vitek-karas requested a review from janvorli July 27, 2020 20:59

@janvorli janvorli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I have verified that it fixes the original issue.

@elinor-fung

Copy link
Copy Markdown
Member Author

Formatting failure is unrelated to these changes and being hit in other runs as well.

@elinor-fung
elinor-fung merged commit 7c422d3 into dotnet:master Jul 28, 2020
Jacksondr5 pushed a commit to Jacksondr5/runtime that referenced this pull request Aug 10, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
@elinor-fung
elinor-fung deleted the fix39609 branch January 27, 2021 10:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-AssemblyLoader-coreclr only use for closed issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AssemblyLoadContext.Unload() not closing assembly file handle in .Net 5.0 Preview 6

3 participants