mirror of https://github.com/f4exb/sdrangel.git
Disconnect connection to APRS-IS when worker stopped
This commit is contained in:
parent
45bf9e6d74
commit
8ae2897814
|
@ -74,6 +74,9 @@ void APRSWorker::stopWork()
|
|||
QMutexLocker mutexLocker(&m_mutex);
|
||||
disconnect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()));
|
||||
m_running = false;
|
||||
// Close any existing connection
|
||||
if (m_socket.isOpen())
|
||||
m_socket.close();
|
||||
}
|
||||
|
||||
void APRSWorker::handleInputMessages()
|
||||
|
|
Loading…
Reference in New Issue