mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
Threaded baseband source/sink stop before delete
This commit is contained in:
parent
904bcf2dc1
commit
8d69272a76
@ -88,6 +88,7 @@ ThreadedBasebandSampleSink::ThreadedBasebandSampleSink(BasebandSampleSink* sampl
|
||||
|
||||
ThreadedBasebandSampleSink::~ThreadedBasebandSampleSink()
|
||||
{
|
||||
stop();
|
||||
delete m_threadedBasebandSampleSinkFifo; // Valgrind memcheck
|
||||
delete m_thread;
|
||||
}
|
||||
|
@ -36,6 +36,7 @@ ThreadedBasebandSampleSource::ThreadedBasebandSampleSource(BasebandSampleSource*
|
||||
|
||||
ThreadedBasebandSampleSource::~ThreadedBasebandSampleSource()
|
||||
{
|
||||
stop();
|
||||
delete m_thread;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user