Do not set stop_event to None when stopping thread

This commit is contained in:
Anes Benmerzoug
2026-05-11 09:11:47 +02:00
committed by Caroline Pascal
parent 38327fdc84
commit 5e11c8db93
@@ -486,7 +486,6 @@ class OpenCVCamera(Camera):
self.thread.join(timeout=2.0)
self.thread = None
self.stop_event = None
with self.frame_lock:
self.latest_frame = None