History

Remove assert in ScriptCache

Ryan Huffman committed 11 years ago

Commit 12d3cf51 parent 33d6f561 file · +0 −2Browse files

Showing the changes to libraries/script-engine/src/ScriptCache.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/ScriptCache.cpp+0−2
@@ -27,8 +27,6 @@ ScriptCache::ScriptCache(QObject* parent) { · 26 unmodified lines
27}27}
28 28
29QString ScriptCache::getScript(const QUrl& url, ScriptUser* scriptUser, bool& isPending, bool reload) {29QString ScriptCache::getScript(const QUrl& url, ScriptUser* scriptUser, bool& isPending, bool reload) {
30 //assert(!_scriptCache.contains(url) || !reload);
31
32 QString scriptContents;30 QString scriptContents;
33 if (_scriptCache.contains(url) && !reload) {31 if (_scriptCache.contains(url) && !reload) {
34 qCDebug(scriptengine) << "Found script in cache:" << url.toString();32 qCDebug(scriptengine) << "Found script in cache:" << url.toString();