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

Memory not deallocated after logging in #21075

Closed
staskus opened this issue Jul 12, 2023 · 0 comments · Fixed by #21092
Closed

Memory not deallocated after logging in #21075

staskus opened this issue Jul 12, 2023 · 0 comments · Fixed by #21092
Assignees

Comments

@staskus
Copy link
Contributor

staskus commented Jul 12, 2023

Parent issue: #20989
Related issue: #21010

Login-related controllers are not deallocated after finishing the login. After repeating the login-logout sequence, login entities keep being allocated. A possible memory leak in the flow.

Memory Leak login

Expected behavior

Login-related controllers should be deallocated after finishing login or at least not be allocated multiple times.

Steps to reproduce the behavior

  1. Open the fresh app
  2. Login
  3. Logout
  4. Login
  5. Open memory graph
  6. Notice multiple instances of Login-related controllers still allocated
Tested on [device], iOS [version], Jetpack iOS / WordPress iOS 22.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant