History

Merge branch 'master' of https://github.com/highfidelity/hifi into loginInitiative2

Wayne Chen committed 7 years ago

Commit c85b8402 parents 6707bf5 76d2519360 files · +6488 −3872Browse files

Showing the changes to libraries/script-engine/src/ScriptEngines.cpp (1 of 360 files). Show all

Unified · Split

libraries/script-engine/src/ScriptEngines.cpp+1−6
@@ -112,7 +112,7 @@ QUrl expandScriptUrl(const QUrl& rawScriptURL) { · 111 unmodified lines
112112
113113 QUrl defaultScriptsLoc = PathUtils::defaultScriptsLocation();
114114 if (!defaultScriptsLoc.isParentOf(url)) {
115− qCWarning(scriptengine) << "Script.include() ignoring file path" << rawScriptURL
115+ qCWarning(scriptengine) << "Script.include() ignoring file path"
116116 << "-- outside of standard libraries: "
117117 << url.path()
118118 << defaultScriptsLoc.path();
@@ -398,7 +398,6 @@ void ScriptEngines::stopAllScripts(bool restart) { · 279 unmodified lines
398398 }
399399
400400 // stop all scripts
401− qCDebug(scriptengine) << "stopping script..." << it.key();
402401 scriptEngine->stop();
403402 removeScriptEngine(scriptEngine);
404403 }
@@ -408,11 +407,8 @@ void ScriptEngines::stopAllScripts(bool restart) { · 3 unmodified lines
408407 for(const auto &scriptName : toReload) {
409408 auto scriptEngine = getScriptEngine(scriptName);
410409 if (scriptEngine && !scriptEngine->isFinished()) {
411− qCDebug(scriptengine) << "waiting on script:" << scriptName;
412410 scriptEngine->waitTillDoneRunning();
413− qCDebug(scriptengine) << "done waiting on script:" << scriptName;
414411 }
415− qCDebug(scriptengine) << "reloading script..." << scriptName;
416412 reloadScript(scriptName);
417413 }
418414 if (restart) {
@@ -450,7 +446,6 @@ bool ScriptEngines::stopScript(const QString& rawScriptURL, bool restart) { · 31 unmodified lines
450446 scriptEngine->stop();
451447 removeScriptEngine(scriptEngine);
452448 stoppedScript = true;
453− qCDebug(scriptengine) << "stopping script..." << scriptURL;
454449 }
455450 }
456451 return stoppedScript;