Fixed crash on radio disable/enable

pull/801/head
AlexandreRouma 2022-06-23 01:10:24 +02:00
rodzic 01e1430847
commit 97643edf2f
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

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