project_files/HedgewarsMobile/Classes/SplitViewRootController.m
changeset 3971 5c82ee165ed5
parent 3829 81db3c85784b
child 3996 eb549fd864a5
--- a/project_files/HedgewarsMobile/Classes/SplitViewRootController.m	Mon Oct 11 16:56:00 2010 -0400
+++ b/project_files/HedgewarsMobile/Classes/SplitViewRootController.m	Tue Oct 12 05:06:30 2010 +0200
@@ -31,12 +31,10 @@
 }
 
 -(void) didReceiveMemoryWarning {
-    // Releases the view if it doesn't have a superview.
-    [super didReceiveMemoryWarning];
-    // Release any cached data, images, etc that aren't in use.
     if (self.activeController.view.superview == nil)
         self.activeController = nil;
     MSG_MEMCLEAN();
+    [super didReceiveMemoryWarning];
 }
 
 // load the view programmatically; we need a splitViewController that handles a MasterViewController