mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-24 05:13:56 +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
|
// 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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user