MMDrawerController-Storyboard icon indicating copy to clipboard operation
MMDrawerController-Storyboard copied to clipboard

performSegueWithIdentifier:sender: leak the MMDrawerController when throwing an exception

Open guillaumealgis opened this issue 9 years ago • 0 comments

Using @try...@catch to "discover" segues results in MMDrawerController (and all its child view controllers) to be leaked if at least one the segue does not exist.

It seems that UIKit is retaining the view controller sending performSegueWithIdentifier:sender:, and if the segue does not exists the exception raised causes UIKit to never release the view controller.

guillaumealgis avatar Oct 28 '15 17:10 guillaumealgis