don't publish record online when the record process has exited

This commit is contained in:
Josh Hawkins
2026-09-30 15:09:51 -05:00
parent cd8ce014d6
commit 0c82773553
+2 -1
View File
@@ -499,7 +499,8 @@ class CameraWatchdog(threading.Thread):
continue continue
elif not stale: elif not stale:
self._send_record_status("online", now) if poll is None:
self._send_record_status("online", now)
p["latest_segment_time"] = self.latest_cache_segment_time p["latest_segment_time"] = self.latest_cache_segment_time
if poll is None: if poll is None: