Closed babucha closed 5 years ago
Ended up with just assigning nil to tesseract variable in viewWillDissappear method. Seems that it fixes the issue with deallocating memory after scan (either successful with result or aborted by a user).
nil
viewWillDissappear
Thanks! I pushed the changes in PasportScannerController to master. So this PR can be closed. The changes to the project file are not needed.
Ended up with just assigning
nil
to tesseract variable inviewWillDissappear
method. Seems that it fixes the issue with deallocating memory after scan (either successful with result or aborted by a user).