History

first cut at making sure entity scripts are called on the entities script engine thread

Brad Hefta-Gaub committed 11 years ago

Commit 8eacdbf1 parent e8ede3a5 files · +62 −21Browse files

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

Unified · Split

libraries/script-engine/src/ScriptCache.cpp+1−0
@@ -68,6 +68,7 @@ void ScriptCache::scriptDownloaded() { · 67 unmodified lines
6868 qCDebug(scriptengine) << "Done downloading script at:" << url.toString();
6969
7070 foreach(ScriptUser* user, scriptUsers) {
71+ // FIXME: I got a crash here, How do we know that user is still valid?
7172 user->scriptContentsAvailable(url, _scriptCache[url]);
7273 }
7374 } else {