mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
make a copy
This commit is contained in:
parent
16f7a361c3
commit
76c8e3a12f
@ -58,7 +58,7 @@ class RegionRequester(threading.Thread):
|
|||||||
frame_time = self.camera.frame_time.value
|
frame_time = self.camera.frame_time.value
|
||||||
|
|
||||||
# grab the current tracked objects
|
# grab the current tracked objects
|
||||||
tracked_objects = self.camera.object_tracker.tracked_objects.values()
|
tracked_objects = self.camera.object_tracker.tracked_objects.values().copy()
|
||||||
|
|
||||||
with self.camera.regions_in_process_lock:
|
with self.camera.regions_in_process_lock:
|
||||||
self.camera.regions_in_process[frame_time] = len(self.camera.config['regions'])
|
self.camera.regions_in_process[frame_time] = len(self.camera.config['regions'])
|
||||||
|
Loading…
Reference in New Issue
Block a user