From: Jay Freeman (saurik) Date: Tue, 1 Mar 2011 03:09:59 +0000 (-0800) Subject: Unloading view controllers should unload their modal. X-Git-Tag: v1.1.0%b1~106 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/092a6bbbf0dd2b34e213bed09eb2469f8a93e5f5?ds=inline Unloading view controllers should unload their modal. --- diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm index 40e54cd5..28123ee3 100644 --- a/UICaboodle/RVPage.mm +++ b/UICaboodle/RVPage.mm @@ -15,6 +15,8 @@ extern bool IsWildcat_; } - (void) unloadData { + if (UIViewController *modal = [self modalViewController]) + [modal unloadData]; } @end