Fixed crash on radio disable/enable

This commit is contained in:
AlexandreRouma 2022-06-23 01:10:24 +02:00
parent 01e1430847
commit 97643edf2f

View File

@ -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();
}