mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Two more small performance wins
This commit is contained in:
@@ -302,8 +302,7 @@ static void *ASVideoPlayerNodeContext = &ASVideoPlayerNodeContext;
|
||||
|
||||
- (void)removeControls
|
||||
{
|
||||
NSArray *controls = [_cachedControls allValues];
|
||||
for (ASDisplayNode *node in controls) {
|
||||
for (ASDisplayNode *node in [_cachedControls objectEnumerator]) {
|
||||
[node removeFromSupernode];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user