Skip to content

Commit

Permalink
Fix open context bug introduced in #1458 (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adlai-Holler committed Apr 25, 2019
1 parent 0cfafca commit 15fb7e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Private/ASDisplayNode+AsyncDisplay.mm
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ - (asyncdisplaykit_async_transaction_operation_block_t)_displayBlockWithAsynchro
if (shouldCreateGraphicsContext) {
CHECK_CANCELLED_AND_RETURN_NIL( UIGraphicsEndImageContext(); );
image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
}

ASDN_DELAY_FOR_DISPLAY();
Expand Down

0 comments on commit 15fb7e0

Please sign in to comment.