Skip to content

[accounting] move dbcontext to local scope - fix memory leak#2876

Merged
julianocosta89 merged 2 commits into
open-telemetry:mainfrom
puckpuck:accounting.fix-memory-leak
Jan 12, 2026
Merged

[accounting] move dbcontext to local scope - fix memory leak#2876
julianocosta89 merged 2 commits into
open-telemetry:mainfrom
puckpuck:accounting.fix-memory-leak

Conversation

@puckpuck

@puckpuck puckpuck commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

Changes

This fixes the memory leak in the accounting service by moving the dbcontext to local scope. This is the recommended approach to create and dispose of DBContext instance per Entity Framework best practices.

Merge Requirements

For new features contributions, please make sure you have completed the following
essential items:

  • CHANGELOG.md updated to document new feature additions

@puckpuck
puckpuck requested a review from a team as a code owner January 9, 2026 21:10
@julianocosta89
julianocosta89 merged commit cc29e06 into open-telemetry:main Jan 12, 2026
34 checks passed
@puckpuck
puckpuck deleted the accounting.fix-memory-leak branch April 15, 2026 21:58
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.

2 participants