mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix: esp reboot on source change/tab change
This commit is contained in:
parent
88b3e1e783
commit
26c4f3c1ca
@ -132,7 +132,8 @@ class Camera:
|
||||
|
||||
addr = str(self.current_capture_source)
|
||||
if is_serial_capture_source(addr):
|
||||
self.serial_connection.close()
|
||||
pass # TODO: find a nicer way to stop the com port
|
||||
# self.serial_connection.close()
|
||||
else:
|
||||
self.cv2_camera.release()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user