pull/1945/merge
Dominik Roessler 1 week ago committed by GitHub
commit 889b565b98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -191,6 +191,7 @@ class BarcodeScannerPlugin: Plugin, AVCaptureMetadataOutputObjectsDelegate {
if self.captureSession != nil {
self.captureSession!.stopRunning()
self.cameraView.removePreviewLayer()
self.cameraView.removeFromSuperview()
self.captureVideoPreviewLayer = nil
self.metaOutput = nil
self.captureSession = nil

Loading…
Cancel
Save