Created
November 28, 2011 22:10
-
-
Save bewebste/1402316 to your computer and use it in GitHub Desktop.
Shameful code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (oneway void)release | |
{ | |
int retainCount = [self retainCount]; | |
[super release]; | |
if(retainCount == 2) | |
[resourceFiles removeObjectForKey:path]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment