Julian Steenbakker
Committed by GitHub

Merge pull request #1295 from navaronbracke/duplicate_texture_release

fix: remove redundant release
@@ -478,8 +478,6 @@ class MobileScanner( @@ -478,8 +478,6 @@ class MobileScanner(
478 it.zoomState.removeObservers(owner) 478 it.zoomState.removeObservers(owner)
479 it.cameraState.removeObservers(owner) 479 it.cameraState.removeObservers(owner)
480 } 480 }
481 - textureEntry?.release()  
482 - textureEntry = null  
483 481
484 // Unbind the camera use cases, the preview is a use case. 482 // Unbind the camera use cases, the preview is a use case.
485 // The camera will be closed when the last use case is unbound. 483 // The camera will be closed when the last use case is unbound.