Skip to content

Conversation

@ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Mar 17, 2025

Fixes #9389

The ActivationData.Command abstract class did not implement IDisposable despite having a Dispose() method. This resulted in a memory leak when grains were deactivated from the ActivationCollector, as reported in #9389 by @rdegroot1996.

This PR adds the IDisposable interface to ActivationData.Command and ensures that all operations are disposed when the Dispose() method is called.

Microsoft Reviewers: Open in CodeFlow

@ReubenBond ReubenBond merged commit f2ad524 into dotnet:main Mar 17, 2025
25 checks passed
@ReubenBond ReubenBond deleted the fix/deactivate-cts-leak branch March 17, 2025 20:46
@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible memory leak in ActivationCollector

2 participants