mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 04:37:37 +01:00
Fixed crash on radio disable/enable
This commit is contained in:
parent
01e1430847
commit
97643edf2f
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user