History

more work on improving script caching

ZappoMan committed 11 years ago

Commit 74d50a91 parent 36657c95 files · +69 −24Browse files

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

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+2−1
@@ -287,8 +287,9 @@ void ScriptEngine::loadURL(const QUrl& scriptURL) { · 286 unmodified lines
287287 QNetworkReply* reply = networkAccessManager.get(networkRequest);
288288 connect(reply, &QNetworkReply::finished, this, &ScriptEngine::handleScriptDownload);
289289 */
290+ bool isPending;
290291 auto scriptCache = DependencyManager::get<ScriptCache>();
291− scriptCache->getScript(url, this);
292+ scriptCache->getScript(url, this, isPending);
292293
293294 }
294295 }