Closed alekkova closed 7 months ago
@alekkova Thanks for submitting the issue. We'll investigate and provide updates here.
Fixed in version 1.2.12
Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
Strong reference cycle between
CameraPreviewViewModel
andLivenessCaptureSession
prevents objects to be released from memory after each liveness session. Please see screenshots from Xcode Memory Graph.Steps To Reproduce
Expected behavior
Objects are released from memory after liveness session is completed.
Swift Liveness Version
1.2.9
Xcode version
15.2
Relevant log output
No response
Is this a regression?
No
Regression additional context
No response
OS Version
iOS 17
Device
iPhone 15
Specific to simulators
No response
Additional context
No response