fix: Also close outputs in destroy()

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

View File

@ -489,6 +489,9 @@ class CameraSession(
cameraDevice?.close()
cameraDevice = null
outputs?.close()
outputs = null
isRunning = false
}