Merge pull request #572 from Lord-Grey/master

Fix LEDDeviceWrapper coredump when killing hyperiond
This commit is contained in:
Rick164
2019-06-19 20:02:33 +02:00
committed by GitHub

View File

@@ -146,4 +146,5 @@ void LedDeviceWrapper::stopDeviceThread()
QThread* oldThread = _ledDevice->thread();
delete _ledDevice; // fast desctruction
oldThread->quit(); // non blocking
oldThread->wait();
}