project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m
changeset 3661 2378ada8a6ee
parent 3660 bc125bea5849
child 3662 a44406f4369b
--- a/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m	Tue Jul 20 05:37:58 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m	Tue Jul 20 23:30:54 2010 +0200
@@ -140,10 +140,10 @@
 }
 
 -(void) applicationDidReceiveMemoryWarning:(UIApplication *)application {
+    print_free_memory();
     if (self.mainViewController.view.superview == nil)
         self.mainViewController = nil;
     MSG_MEMCLEAN();
-    print_free_memory();
 }
 
 -(void) applicationWillResignActive:(UIApplication *)application {