From 012a1093e3cb9a1b376fc3beee4df859ccfb8da5 Mon Sep 17 00:00:00 2001 From: Christian Kolset Date: Thu, 13 Aug 2026 10:59:25 -0600 Subject: Fixed loading profiles data retention and display. --- core/profile.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core/profile.py') diff --git a/core/profile.py b/core/profile.py index 8c73b4b..1fa667a 100644 --- a/core/profile.py +++ b/core/profile.py @@ -306,6 +306,12 @@ class ProfileManager: if engine is not None: engine.remove_device(dev.info.device_id) + # Clear signal pipelines and derived channels — profile defines the + # complete set; otherwise the previous profile's leftovers stick around. + processor._pipelines.clear() + for dc in list(processor.get_derived()): + processor.remove_derived(dc.channel_id) + for dev_cfg in profile.devices: dev_type = dev_cfg.get("device_type") dev_id = dev_cfg.get("device_id") -- cgit v1.2.3