Showing the changes to libraries/script-engine/src/ScriptEngines.cpp (1 of 46 files). Show all
Unified · Split
| @@ -16,8 +16,6 @@ · 15 unmodified lines | |||
| 16 | #include <UserActivityLogger.h> | 16 | #include <UserActivityLogger.h> |
| 17 | #include <PathUtils.h> | 17 | #include <PathUtils.h> |
| 18 | 18 | ||
| 19 | #include <OffscreenUi.h> | ||
| 20 | |||
| 21 | #include "ScriptEngine.h" | 19 | #include "ScriptEngine.h" |
| 22 | #include "ScriptEngineLogging.h" | 20 | #include "ScriptEngineLogging.h" |
| 23 | 21 | ||
| @@ -431,7 +429,6 @@ void ScriptEngines::setScriptsLocation(const QString& scriptsLocation) { · 407 unmodified lines | |||
| 431 | void ScriptEngines::reloadAllScripts() { | 429 | void ScriptEngines::reloadAllScripts() { |
| 432 | qCDebug(scriptengine) << "reloadAllScripts -- clearing caches"; | 430 | qCDebug(scriptengine) << "reloadAllScripts -- clearing caches"; |
| 433 | DependencyManager::get<ScriptCache>()->clearCache(); | 431 | DependencyManager::get<ScriptCache>()->clearCache(); |
| 434 | DependencyManager::get<OffscreenUi>()->clearCache(); | ||
| 435 | qCDebug(scriptengine) << "reloadAllScripts -- stopping all scripts"; | 432 | qCDebug(scriptengine) << "reloadAllScripts -- stopping all scripts"; |
| 436 | stopAllScripts(true); | 433 | stopAllScripts(true); |
| 437 | } | 434 | } |