mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-01 12:23:20 +08:00
release any CGColor's set while the node is in a pending state
This commit is contained in:
@@ -981,4 +981,11 @@
|
||||
return pendingState;
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
CGColorRelease(backgroundColor);
|
||||
CGColorRelease(shadowColor);
|
||||
CGColorRelease(borderColor);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user