Skip to content

Commit efa533c

Browse files
Merge pull request #1295 from navaronbracke/duplicate_texture_release
fix: remove redundant release
2 parents 5c0d5e0 + 6add7b6 commit efa533c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

android/src/main/kotlin/dev/steenbakker/mobile_scanner/MobileScanner.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,6 @@ class MobileScanner(
478478
it.zoomState.removeObservers(owner)
479479
it.cameraState.removeObservers(owner)
480480
}
481-
textureEntry?.release()
482-
textureEntry = null
483481

484482
// Unbind the camera use cases, the preview is a use case.
485483
// The camera will be closed when the last use case is unbound.

0 commit comments

Comments
 (0)