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

Commit

Permalink
Move imageLock in braces for getting drawing parameters (#1876)
Browse files Browse the repository at this point in the history
  • Loading branch information
maicki authored and appleguy committed Jul 10, 2016
1 parent d646d3c commit e7e2672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AsyncDisplayKit/ASImageNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ - (UIImage *)displayWithParameters:(id<NSObject> *)parameter isCancelled:(asdisp
CGRect cropRect = CGRectZero;
asimagenode_modification_block_t imageModificationBlock;

ASDN::MutexLocker l(_imageLock);
{
ASDN::MutexLocker l(_imageLock);
ASImageNodeDrawParameters drawParameter = _drawParameter;

drawParameterBounds = drawParameter.bounds;
Expand Down

0 comments on commit e7e2672

Please sign in to comment.