kopia lustrzana https://github.com/markondej/fm_transmitter
Tweaked exception handling
rodzic
430923a05a
commit
67a283a98c
|
@ -365,7 +365,7 @@ void Transmitter::Transmit(WaveReader &reader, float frequency, float bandwidth,
|
||||||
}
|
}
|
||||||
|
|
||||||
auto finally = [&]() {
|
auto finally = [&]() {
|
||||||
if (!preserveCarrier) {
|
if (!preserveCarrier && (output != nullptr)) {
|
||||||
delete output;
|
delete output;
|
||||||
output = nullptr;
|
output = nullptr;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue