Revert "fix: Close CameraSession
in onDetachedFromWindow()
(#1962)"
This reverts commit 02726d47f7
.
This commit is contained in:
parent
02726d47f7
commit
bccd73d704
@ -125,7 +125,6 @@ class CameraView(context: Context) :
|
||||
|
||||
override fun onDetachedFromWindow() {
|
||||
super.onDetachedFromWindow()
|
||||
cameraSession.close()
|
||||
launch { updateLifecycle() }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user