From 092a6bbbf0dd2b34e213bed09eb2469f8a93e5f5 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 28 Feb 2011 19:09:59 -0800 Subject: [PATCH] Unloading view controllers should unload their modal. --- UICaboodle/RVPage.mm | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.45.2