diff --git a/src/blackcore/afv/clients/afvclient.cpp b/src/blackcore/afv/clients/afvclient.cpp index 814559420..0c5254195 100644 --- a/src/blackcore/afv/clients/afvclient.cpp +++ b/src/blackcore/afv/clients/afvclient.cpp @@ -170,6 +170,8 @@ namespace BlackCore bool CAfvClient::restartWithNewDevices(const CAudioDeviceInfo &inputDevice, const CAudioDeviceInfo &outputDevice) { + if (! m_isStarted) { return true; } + if (QThread::currentThread() != this->thread()) { // Method needs to be executed in the object thread since it will create new QObject children