Skip to content
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

ClusterSystem is leaking #1168

Open
akbashev opened this issue Oct 22, 2024 · 1 comment · May be fixed by #1170
Open

ClusterSystem is leaking #1168

akbashev opened this issue Oct 22, 2024 · 1 comment · May be fixed by #1170

Comments

@akbashev
Copy link
Contributor

When doing this PR I've noticed ClusterSystem is never deinit'ed after shutdown.

@akbashev
Copy link
Contributor Author

I've noticed this part is commented in shutdown function:

        /*
         self.lazyInitializationLock.withWriterLockVoid {
             // self._serialization = nil // FIXME: need to release serialization
         }
         */

and serialisation context and userInfo (encoder.userInfo[.actorSystemKey] = self.context.system) are holding strong reference to cluster system. Worth checking.

@akbashev akbashev linked a pull request Oct 24, 2024 that will close this issue
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 a pull request may close this issue.

1 participant