Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Sublayers cleanup refactoring
  • Loading branch information
djphoenix committed May 14, 2015
1 parent c93eefe commit 6747fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxSVG/pxSVGLayer.m
Expand Up @@ -164,7 +164,7 @@ - (void)clean
if (self.loadOperation) {[self.loadOperation cancel];self.loadOperation = nil;}
if (self.parseOperation) {[self.parseOperation cancel];self.parseOperation = nil;}
if (self.layerOperation) {[self.layerOperation cancel];self.layerOperation = nil;}
while (self.sublayers.count) [self.sublayers.firstObject removeFromSuperlayer];
for (CALayer *l in [self.sublayers copy]) [l removeFromSuperlayer];
self.contentRect = CGRectZero;
}
}
Expand Down

0 comments on commit 6747fb2

Please sign in to comment.