Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Fix for behavior difference between CA and UIKit that causes mutation…
Browse files Browse the repository at this point in the history
… crash
  • Loading branch information
Scott Goodson committed Nov 9, 2015
1 parent 8b465c5 commit bfe908b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AsyncDisplayKit/Details/ASRangeHandlerRender.mm
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ - (UIWindow *)workingWindow

- (void)dealloc
{
for(CALayer *layer in self.workingWindow.layer.sublayers) {
for(CALayer *layer in [self.workingWindow.layer.sublayers copy]) {
ASDisplayNode *node = layer.asyncdisplaykit_node;
[self node:node exitedRangeOfType:ASLayoutRangeTypeRender];
}
Expand Down

0 comments on commit bfe908b

Please sign in to comment.