History

CR.

Kalila L committed 6 years ago

Commit 05ad3001 parent 36f5fd94 files · +7 −5Browse files

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

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+1−1
@@ -1942,7 +1942,7 @@ QScriptValue ScriptEngine::require(const QString& moduleId) { · 1941 unmodified lines
19421942 // to inspect particular entries and invalidate them by deleting the key:
19431943 // `delete Script.require.cache[Script.require.resolve(moduleId)];`
19441944
1945− // Check to see if
1945+ // Check to see if we should invalidate the cache based on a user setting.
19461946 Setting::Handle<bool> getCachebustSetting {"cachebustScriptRequire", false };
19471947
19481948 // cacheMeta is just used right now to tell deleted keys apart from undefined ones