diff --git a/Libraries/Image/RCTImageUtils.m b/Libraries/Image/RCTImageUtils.m index a89872508..edc1cb926 100644 --- a/Libraries/Image/RCTImageUtils.m +++ b/Libraries/Image/RCTImageUtils.m @@ -321,7 +321,7 @@ UIImage *__nullable RCTTransformImage(UIImage *image, CGContextConcatCTM(currentContext, transform); [image drawAtPoint:CGPointZero]; UIImage *result = UIGraphicsGetImageFromCurrentImageContext(); - UIGraphicsGetCurrentContext(); + UIGraphicsEndImageContext(); return result; }