Revert "fix: Close CameraSession in onDetachedFromWindow() (#1962)"

This reverts commit 02726d47f7.
This commit is contained in:
Marc Rousavy 2023-10-10 19:06:06 +02:00
parent 02726d47f7
commit bccd73d704
No known key found for this signature in database
GPG Key ID: 83BEF0F19E8F5321

View File

@ -125,7 +125,6 @@ class CameraView(context: Context) :
override fun onDetachedFromWindow() {
super.onDetachedFromWindow()
cameraSession.close()
launch { updateLifecycle() }
}