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

Notifications View Controller Memory Leak #22764

Closed
salimbraksa opened this issue Mar 4, 2024 · 1 comment · Fixed by #22765
Closed

Notifications View Controller Memory Leak #22764

salimbraksa opened this issue Mar 4, 2024 · 1 comment · Fixed by #22765
Assignees
Milestone

Comments

@salimbraksa
Copy link
Contributor

salimbraksa commented Mar 4, 2024

Expected behavior

The NotificationsViewController object shouldn't leak when the user signs out.

Actual behavior

The NotificationsViewController object is retained even after the user signs out.

Steps to reproduce the behavior

  1. Build and run the app in Xcode
  2. Navigate to Notifications screen
  3. Find a notification with the "Star" Inline Action
  4. Tap the Inline Action
  5. Sign out
  6. Activate the Memory Graph debugger
  7. Search for NotificationsViewController. The expected behavior is that it shouldn't be found.
Tested on Any, iOS 17, Jetpack iOS / WordPress iOS e29a8ed
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants