equal
deleted
inserted
replaced
66 |
66 |
67 -(void) applicationDidReceiveMemoryWarning:(UIApplication *)application { |
67 -(void) applicationDidReceiveMemoryWarning:(UIApplication *)application { |
68 [HWUtils releaseCache]; |
68 [HWUtils releaseCache]; |
69 // don't stop music if it is playing |
69 // don't stop music if it is playing |
70 if ([HWUtils isGameLaunched]) { |
70 if ([HWUtils isGameLaunched]) { |
71 [AudioManagerController releaseCache]; |
71 [[AudioManagerController mainManager] didReceiveMemoryWarning]; |
72 HW_memoryWarningCallback(); |
72 HW_memoryWarningCallback(); |
73 } |
73 } |
74 MSG_MEMCLEAN(); |
74 MSG_MEMCLEAN(); |
75 // don't clean mainMenuViewController here!!! |
75 // don't clean mainMenuViewController here!!! |
76 } |
76 } |