mirror of
https://github.com/alexhopeoconnor/frigate.git
synced 2026-10-16 08:31:36 +10:00
ensure we copy current frame to prevent a segfault crash (#16591)
This commit is contained in:
@@ -406,7 +406,7 @@ class CameraState:
|
||||
|
||||
if current_frame is not None:
|
||||
self.current_frame_time = frame_time
|
||||
self._current_frame = current_frame
|
||||
self._current_frame = np.copy(current_frame)
|
||||
|
||||
if self.previous_frame_id is not None:
|
||||
self.frame_manager.close(self.previous_frame_id)
|
||||
|
||||
Reference in New Issue
Block a user