equal
deleted
inserted
replaced
86 -(void) applicationDidReceiveMemoryWarning:(UIApplication *)application { |
86 -(void) applicationDidReceiveMemoryWarning:(UIApplication *)application { |
87 [HWUtils releaseCache]; |
87 [HWUtils releaseCache]; |
88 // don't stop music if it is playing |
88 // don't stop music if it is playing |
89 if ([HWUtils isGameLaunched]) { |
89 if ([HWUtils isGameLaunched]) { |
90 [AudioManagerController releaseCache]; |
90 [AudioManagerController releaseCache]; |
|
91 HW_memoryWarningCallback(); |
91 } |
92 } |
92 MSG_MEMCLEAN(); |
93 MSG_MEMCLEAN(); |
93 // don't clean mainMenuViewController here!!! |
94 // don't clean mainMenuViewController here!!! |
94 } |
95 } |
95 |
96 |