mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
Call stopWork from destructor.
This commit is contained in:
@@ -131,7 +131,7 @@ void GS232Controller::start()
|
||||
{
|
||||
qDebug("GS232Controller::start");
|
||||
|
||||
m_thread = new QThread(this);
|
||||
m_thread = new QThread();
|
||||
m_worker = new GS232ControllerWorker();
|
||||
m_worker->moveToThread(m_thread);
|
||||
QObject::connect(m_thread, &QThread::started, m_worker, &GS232ControllerWorker::startWork);
|
||||
|
||||
Reference in New Issue
Block a user