summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-28 19:09:59 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:30 -0800
commit092a6bbbf0dd2b34e213bed09eb2469f8a93e5f5 (patch)
treeffa02726d113bd7d9eae9162d05d92fdb173ff7f /UICaboodle
parent36a20e148d74e029097ee6728ec9d443b9a2f022 (diff)
Unloading view controllers should unload their modal.
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/RVPage.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm
index 40e54cd..28123ee 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