From 7841f6deba953121bc6d74bbf60d3380a466d73f Mon Sep 17 00:00:00 2001 From: Jens Neubauer Date: Fri, 1 Jul 2016 16:25:47 +0200 Subject: [PATCH] Crash fix --- src/ios/CDVBarcodeScanner.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/CDVBarcodeScanner.mm b/src/ios/CDVBarcodeScanner.mm index b95d8917..482fca0d 100644 --- a/src/ios/CDVBarcodeScanner.mm +++ b/src/ios/CDVBarcodeScanner.mm @@ -407,7 +407,7 @@ - (void)barcodeScanCancelled { - (void)flipCamera { self.isFlipped = YES; self.isFrontCamera = !self.isFrontCamera; - [self barcodeScanDone]; + [self barcodeScanDone:^{}]; if (self.isFlipped) { self.isFlipped = NO; }