Ensure proper termination of baseband sampling when M17Demodulator::terminate() is called.

Solves #74.
pull/68/head
Silvano Seva 2022-05-18 19:56:12 +02:00
rodzic 7aff678069
commit 5b27e6b692
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -136,6 +136,9 @@ void M17Demodulator::init()
void M17Demodulator::terminate()
{
// Ensure proper termination of baseband sampling
inputStream_stop(basebandId);
// Delete the buffers and deallocate memory.
delete[] baseband_buffer;
delete activeFrame;