1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-09-05 22:57:47 -04:00

RemoteInput; do not stop UDP handler when stopping else it blocks the restart. Fixes issue #563

This commit is contained in:
f4exb 2020-07-13 00:06:48 +02:00
parent 57cd14c8e1
commit d93651dedb

View File

@ -49,9 +49,10 @@ MESSAGE_CLASS_DEFINITION(RemoteInput::MsgStartStop, Message)
RemoteInput::RemoteInput(DeviceAPI *deviceAPI) : RemoteInput::RemoteInput(DeviceAPI *deviceAPI) :
m_deviceAPI(deviceAPI), m_deviceAPI(deviceAPI),
m_sampleRate(48000), m_sampleRate(48000),
m_mutex(QMutex::Recursive),
m_fileSink(nullptr), m_fileSink(nullptr),
m_settings(), m_settings(),
m_remoteInputUDPHandler(0), m_remoteInputUDPHandler(nullptr),
m_deviceDescription(), m_deviceDescription(),
m_startingTimeStamp(0) m_startingTimeStamp(0)
{ {
@ -97,7 +98,6 @@ bool RemoteInput::start()
void RemoteInput::stop() void RemoteInput::stop()
{ {
qDebug() << "RemoteInput::stop"; qDebug() << "RemoteInput::stop";
m_remoteInputUDPHandler->stop();
} }
QByteArray RemoteInput::serialize() const QByteArray RemoteInput::serialize() const