project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m
changeset 3548 4d220ee7c75f
parent 3547 02875b1145b7
child 3598 a8aa06bae895
--- a/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m	Wed Jun 23 22:03:56 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m	Thu Jun 24 01:08:25 2010 +0200
@@ -147,6 +147,10 @@
     }
 }
 
+-(void) applicationDidReceiveMemoryWarning:(UIApplication *)application {
+    print_free_memory();
+}
+
 -(void) applicationWillResignActive:(UIApplication *)application {
     //NSLog(@"%@", NSStringFromSelector(_cmd));
     if (isInGame) {