From c8c1b0f7819ee7c1adfc7fc47df65529c361607d Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Sat, 25 Oct 2025 10:27:33 +0800 Subject: [PATCH] ui: clear available camera streams after going offroad (#36441) clear available camera streams after going offroad --- selfdrive/ui/onroad/cameraview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/ui/onroad/cameraview.py b/selfdrive/ui/onroad/cameraview.py index 5098b6a06c..98dd00ebaa 100644 --- a/selfdrive/ui/onroad/cameraview.py +++ b/selfdrive/ui/onroad/cameraview.py @@ -114,6 +114,7 @@ class CameraView(Widget): # which drains the VisionIpcClient SubSocket for us. Re-connecting is not enough # and only clears internal buffers, not the message queue. self.frame = None + self.available_streams.clear() if self.client: del self.client self.client = VisionIpcClient(self._name, self._stream_type, conflate=True)