fix: esp reboot on source change/tab change

This commit is contained in:
Prohurtz 2024-07-29 23:08:11 -05:00
parent 88b3e1e783
commit 26c4f3c1ca

View File

@ -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()