Skip to content

Dispose service properties when context is disposed or returned to the pool#29929

Merged
ajcvickers merged 2 commits intomainfrom
WakeMeUpBeforeYouGoGo1223
Dec 29, 2022
Merged

Dispose service properties when context is disposed or returned to the pool#29929
ajcvickers merged 2 commits intomainfrom
WakeMeUpBeforeYouGoGo1223

Conversation

@ajcvickers
Copy link
Copy Markdown
Contributor

Fixes #25486

@ajcvickers ajcvickers requested a review from a team December 24, 2022 12:25
Comment thread src/EFCore/ChangeTracking/Internal/StateManager.cs Outdated
Comment thread src/EFCore/ChangeTracking/Internal/StateManager.cs Outdated
Comment thread src/EFCore/Metadata/RuntimeEntityType.cs Outdated
Comment thread test/EFCore.SqlServer.FunctionalTests/DbContextPoolingTest.cs
@ajcvickers ajcvickers force-pushed the WakeMeUpBeforeYouGoGo1223 branch from fd96b94 to 8d73ffe Compare December 29, 2022 01:30
@ajcvickers ajcvickers merged commit 0993a63 into main Dec 29, 2022
@ajcvickers ajcvickers deleted the WakeMeUpBeforeYouGoGo1223 branch December 29, 2022 10:20
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.

Proxies retain a reference to pooled DbContext after it is returned to the pool

2 participants