project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m
changeset 6017 24631fd2fb9e
parent 6000 dbcebcd3d79f
child 6078 8c0cc07731e5
equal deleted inserted replaced
6016:85410eef7ba4 6017:24631fd2fb9e
    92 }
    92 }
    93 
    93 
    94 -(void) applicationDidReceiveMemoryWarning:(UIApplication *)application {
    94 -(void) applicationDidReceiveMemoryWarning:(UIApplication *)application {
    95     // don't stop music when it is playing
    95     // don't stop music when it is playing
    96     if (self.isInGame) {
    96     if (self.isInGame) {
    97         [AudioManagerController didReceiveMemoryWarning];
    97         [AudioManagerController cleanupMemory];
    98         MSG_MEMCLEAN();
    98         MSG_MEMCLEAN();
    99     }
    99     }
   100     print_free_memory();
   100     print_free_memory();
   101     // don't clean mainMenuViewController here!!!
   101     // don't clean mainMenuViewController here!!!
   102 }
   102 }