Showing
1 changed file
with
0 additions
and
2 deletions
| @@ -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. |
-
Please register or login to post a comment