Trying to fix QtQml/QtScript crashes
Showing the changes to libraries/script-engine/src/ScriptEngines.cpp (1 of 47 files). Show all
Unified · Split
| @@ -16,8 +16,6 @@ · 15 unmodified lines | ||
| 16 | 16 | #include <UserActivityLogger.h> |
| 17 | 17 | #include <PathUtils.h> |
| 18 | 18 | |
| 19 | −#include <OffscreenUi.h> | |
| 20 | − | |
| 21 | 19 | #include "ScriptEngine.h" |
| 22 | 20 | #include "ScriptEngineLogging.h" |
| 23 | 21 | |
| @@ -446,7 +444,6 @@ void ScriptEngines::setScriptsLocation(const QString& scriptsLocation) { · 422 unmodified lines | ||
| 446 | 444 | void ScriptEngines::reloadAllScripts() { |
| 447 | 445 | qCDebug(scriptengine) << "reloadAllScripts -- clearing caches"; |
| 448 | 446 | DependencyManager::get<ScriptCache>()->clearCache(); |
| 449 | − DependencyManager::get<OffscreenUi>()->clearCache(); | |
| 450 | 447 | qCDebug(scriptengine) << "reloadAllScripts -- stopping all scripts"; |
| 451 | 448 | stopAllScripts(true); |
| 452 | 449 | } |