equal
deleted
inserted
replaced
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 } |