-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Dispose the ContentFileProvider when the host is disposed #50181
Conversation
- Today we don't and it results in a leak when hosts are created and destroyed.
Tagging subscribers to this area: @eerhardt, @maryamariyan Issue Details
Contributes to dotnet/aspnetcore#31125
|
Is there a test that can be added for this? |
It's good you asked, I plan to but I can't get test working locally 😄. I'll write one then use the CI |
😮 , Do either of the following work for you:
|
Rebuilt everything, trying command line as test explorer is failing me rn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'm like 99% sure these failures are unrelated 😄 |
Contributes to dotnet/aspnetcore#31125
Fixed #36550