mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Move dealloc method from ASImageNode+AnimatedImage category to ASImageNode
Having a dealloc method in a category can be very problematic as the superclass dealloc method will not be called in case it exists.
This commit is contained in:
@@ -31,3 +31,10 @@ extern NSString *const ASAnimatedImageDefaultRunLoopMode;
|
||||
@property (atomic, assign) CFTimeInterval lastDisplayLinkFire;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@interface ASImageNode (AnimatedImageInvalidation)
|
||||
|
||||
- (void)invalidateAnimatedImage;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user