mirror of
https://github.com/huggingface/lerobot.git
synced 2026-06-18 00:37:10 +00:00
Do not set stop_event to None when stopping thread
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user