kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Fixed crash on radio disable/enable
rodzic
01e1430847
commit
97643edf2f
|
@ -22,6 +22,7 @@ namespace dsp::routing {
|
||||||
// Add to the list
|
// Add to the list
|
||||||
base_type::tempStop();
|
base_type::tempStop();
|
||||||
streams.push_back(stream);
|
streams.push_back(stream);
|
||||||
|
base_type::registerOutput(stream);
|
||||||
base_type::tempStart();
|
base_type::tempStart();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,6 +38,7 @@ namespace dsp::routing {
|
||||||
|
|
||||||
// Add to the list
|
// Add to the list
|
||||||
base_type::tempStop();
|
base_type::tempStop();
|
||||||
|
base_type::unregisterOutput(stream);
|
||||||
streams.erase(sit);
|
streams.erase(sit);
|
||||||
base_type::tempStart();
|
base_type::tempStart();
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue