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
commit d8bf18b99e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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