CameraKit / camerakit-ios

Library for iOS Camera API. Massively increase performance and ease of use within your next iOS Project.
Apache License 2.0
686 stars 82 forks source link

Mem leak. #18

Open adriansergheev opened 5 years ago

adriansergheev commented 5 years ago

CameraKit Version: Last version. iOS Device: iPhone SE iOS Version: 12.2

Steps to Reproduce

  1. Switch between photo/video

Expected Behavior

preview view should be released.

Actual Behavior

image
adriansergheev commented 5 years ago

a fast solution would be to set the session as nil at deinit. cameraView.session = nil

austinkettner commented 5 years ago

Thanks for submitting this @andriansergheev we are looking into it!