-
Notifications
You must be signed in to change notification settings - Fork 1.2k
A memory leak in ReaderCommentsViewController #21039
Copy link
Copy link
Closed
Labels
Description
Expected behavior
ReaderCommentsViewController instance is released after user exist the post comments screen.
Actual behavior
ReaderCommentsViewController instance is NOT released after user exist the post comments screen.
Steps to reproduce the behavior
- Add a
deallocmethod toReaderCommentsViewController.mmethod, with a statement likeNSLog(@"dealloc"). - Set a breakpoint in the
deallocmethod. - Launch the app from Xcode.
- Navigate to Reader tab and tap on the "View Comment" button on a post.
- Tap the back button on the post comments screen.
Tested on [device], iOS [version], Jetpack iOS / WordPress iOS [version]
The trunk branch, db15a47
Reactions are currently unavailable