mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-14 01:26:00 +01:00
Use Q_ASSERT
This commit is contained in:
parent
c5cadfe0c6
commit
f69e42e520
@ -17,6 +17,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QMutexLocker>
|
||||
@ -47,7 +48,7 @@ void RadioBackend::ExitAsync() {
|
||||
|
||||
void RadioBackend::Exit() {
|
||||
|
||||
assert(QThread::currentThread() == thread());
|
||||
Q_ASSERT(QThread::currentThread() == thread());
|
||||
|
||||
moveToThread(original_thread_);
|
||||
emit ExitFinished();
|
||||
|
Loading…
Reference in New Issue
Block a user