fix: Also close outputs
in destroy()
This commit is contained in:
parent
bccd73d704
commit
10a44d5b79
@ -489,6 +489,9 @@ class CameraSession(
|
|||||||
cameraDevice?.close()
|
cameraDevice?.close()
|
||||||
cameraDevice = null
|
cameraDevice = null
|
||||||
|
|
||||||
|
outputs?.close()
|
||||||
|
outputs = null
|
||||||
|
|
||||||
isRunning = false
|
isRunning = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user