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 | 115 | auto scriptContent = _scriptCache[url]; |
| 116 | 116 | lock.unlock(); |
| 117 | 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 | 118 | contentAvailable(url.toString(), scriptContent, true, true); |
| 122 | 119 | } else { |
| 123 | 120 | bool alreadyWaiting = _contentCallbacks.contains(url); |