mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 12:23:24 +02:00
add Q_ASSERT to IS_THREADSAFE_INVOCATION
This commit is contained in:
parent
52a571558c
commit
366c90ef6a
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ bool BaseScriptEngine::IS_THREADSAFE_INVOCATION(const QThread *thread, const QSt
|
|||
qCCritical(shared) << QString("Scripting::%1 @ %2 -- ignoring thread-unsafe call from %3")
|
||||
.arg(method).arg(thread ? thread->objectName() : "(!thread)").arg(QThread::currentThread()->objectName());
|
||||
qCDebug(shared) << "(please resolve on the calling side by using invokeMethod, executeOnScriptThread, etc.)";
|
||||
Q_ASSERT(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue