TheLevelUp/ZXingObjC — pull request #171 by sveltema (2014-09-08 08:55:16+00:00)
Title: Cleanup AVCaptureSession on ZXCapture dealloc

I notices significant delays to scanning and AVCaptureVideoPreviewLayer display after instantiating a ZXCapture, scanning, dealloc, and then instantiating a second ZXCapture object. Cleaning up AVCaptureSession inputs and outputs before ZXCapture deallocation removed any delays and the occasional inability to display the AVCaptureVideoPreviewLayer correctly.