diff --git a/libsrc/leddevice/LedDeviceWrapper.cpp b/libsrc/leddevice/LedDeviceWrapper.cpp index f9eebc01..ee6a1d54 100644 --- a/libsrc/leddevice/LedDeviceWrapper.cpp +++ b/libsrc/leddevice/LedDeviceWrapper.cpp @@ -146,4 +146,5 @@ void LedDeviceWrapper::stopDeviceThread() QThread* oldThread = _ledDevice->thread(); delete _ledDevice; // fast desctruction oldThread->quit(); // non blocking + oldThread->wait(); }