Skip to content

Memory not deallocated after logging in #21075

@staskus

Description

@staskus

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions