equal
deleted
inserted
replaced
106 AudioServicesPlaySystemSound(selSound); |
106 AudioServicesPlaySystemSound(selSound); |
107 } |
107 } |
108 |
108 |
109 #pragma mark - |
109 #pragma mark - |
110 #pragma mark memory management |
110 #pragma mark memory management |
111 +(void) cleanupMemory { |
111 +(void) releaseCache { |
112 [backgroundMusic stop]; |
112 [backgroundMusic stop]; |
113 [backgroundMusic release], backgroundMusic = nil; |
113 [backgroundMusic release], backgroundMusic = nil; |
114 AudioServicesDisposeSystemSoundID(clickSound), clickSound = -1; |
114 AudioServicesDisposeSystemSoundID(clickSound), clickSound = -1; |
115 AudioServicesDisposeSystemSoundID(backSound), backSound = -1; |
115 AudioServicesDisposeSystemSoundID(backSound), backSound = -1; |
116 AudioServicesDisposeSystemSoundID(selSound), selSound = -1; |
116 AudioServicesDisposeSystemSoundID(selSound), selSound = -1; |