From 985a44707445d6d83fea69e6b3722e3bb48f8589 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 10 Jun 2025 15:44:26 -0600 Subject: [PATCH] Cleanup --- frigate/app.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/frigate/app.py b/frigate/app.py index b9d7cd288..5d4223ac0 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -420,7 +420,15 @@ class FrigateApp: logger.info(f"Output process started: {output_processor.pid}") def start_camera_processor(self) -> None: - self.camera_maintainer = CameraMaintainer(self.config, self.stop_event) + self.camera_maintainer = CameraMaintainer( + self.config, + self.detection_queue, + self.detection_out_events, + self.detected_frames_queue, + self.camera_metrics, + self.ptz_metrics, + self.stop_event, + ) self.camera_maintainer.start() def start_audio_processor(self) -> None: @@ -602,7 +610,6 @@ class FrigateApp: if self.onvif_controller: self.onvif_controller.close() - # ensure the detectors are done for detector in self.detectors.values(): detector.stop()