From 97643edf2f7f81bc1a1fe72a6c9a41c967cbad02 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Thu, 23 Jun 2022 01:10:24 +0200 Subject: [PATCH] Fixed crash on radio disable/enable --- core/src/dsp/routing/splitter.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/dsp/routing/splitter.h b/core/src/dsp/routing/splitter.h index 950d61e..50379c9 100644 --- a/core/src/dsp/routing/splitter.h +++ b/core/src/dsp/routing/splitter.h @@ -22,6 +22,7 @@ namespace dsp::routing { // Add to the list base_type::tempStop(); streams.push_back(stream); + base_type::registerOutput(stream); base_type::tempStart(); } @@ -37,6 +38,7 @@ namespace dsp::routing { // Add to the list base_type::tempStop(); + base_type::unregisterOutput(stream); streams.erase(sit); base_type::tempStart(); }