[X] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist
[ ] I have added tests that prove my fix is effective or that my feature works
According to our internal tests with this fix after 24 hours under load the memory snapshot doesn't contain the leaked objects anymore.
[ ] I have added necessary documentation (if appropriate)
Description
Solves https://github.com/asynkron/protoactor-dotnet/issues/2110
Purpose
This pull request is a:
Checklist