Showing the changes to libraries/script-engine/src/ScriptCache.cpp (1 of 1 file). Show all
Unified · Split
| @@ -115,9 +115,6 @@ void ScriptCache::getScriptContents(const QString& scriptOrURL, contentAvailable · 114 unmodified lines | |||
| 115 | auto scriptContent = _scriptCache[url]; | 115 | auto scriptContent = _scriptCache[url]; |
| 116 | lock.unlock(); | 116 | lock.unlock(); |
| 117 | qCDebug(scriptengine) << "Found script in cache:" << url.toString(); | 117 | qCDebug(scriptengine) << "Found script in cache:" << url.toString(); |
| 118 | #if 1 // def THREAD_DEBUGGING | ||
| 119 | qCDebug(scriptengine) << "ScriptCache::getScriptContents() about to call contentAvailable() on thread [" << QThread::currentThread() << "] expected thread [" << thread() << "]"; | ||
| 120 | #endif | ||
| 121 | contentAvailable(url.toString(), scriptContent, true, true); | 118 | contentAvailable(url.toString(), scriptContent, true, true); |
| 122 | } else { | 119 | } else { |
| 123 | bool alreadyWaiting = _contentCallbacks.contains(url); | 120 | bool alreadyWaiting = _contentCallbacks.contains(url); |