Add release condition for ASeeVR camera

I plain forgot about this, whoops
This commit is contained in:
Fynnley 2024-10-22 16:26:40 +02:00 committed by GitHub
parent 353ae2b2a1
commit dd97a467ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,6 +148,9 @@ class Camera:
if is_serial_capture_source(addr):
pass # TODO: find a nicer way to stop the com port
# self.serial_connection.close()
elif is_aseevr_capture_source(addr):
# We don't need any special release for ASeeVR, each capture event is fully closed within itself
pass
else:
self.cv2_camera.release()