forked from qt-creator/qt-creator
Use more Utils::isMainThread()
Change-Id: Ia3c6f6dca53c5d7487b0813de16f06c52af47aa5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
#include "qmljsinterpreter.h"
|
||||
#include "qmljsmodelmanagerinterface.h"
|
||||
#include "qmljsplugindumper.h"
|
||||
#include "qmljstypedescriptionreader.h"
|
||||
#include "qmljsdialect.h"
|
||||
#include "qmljsviewercontext.h"
|
||||
#include "qmljsutils.h"
|
||||
@@ -989,7 +988,7 @@ void ModelManagerInterface::parseLoop(QSet<Utils::FilePath> &scannedPaths,
|
||||
ExtensionSystem::PluginManager::waitForScenarioFullyInitialized();
|
||||
if (ExtensionSystem::PluginManager::finishScenario()) {
|
||||
qDebug() << "Point 1: Shutdown triggered";
|
||||
QThread::currentThread()->sleep(2);
|
||||
QThread::sleep(2);
|
||||
qDebug() << "Point 3: If Point 2 was already reached, expect a crash now";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user