MMDrawerController-Storyboard
MMDrawerController-Storyboard copied to clipboard
performSegueWithIdentifier:sender: leak the MMDrawerController when throwing an exception
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.