aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-06-24 10:35:42 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-08-22 21:13:44 +0200
commite59482f7f56fcb91bccff7230bed308e2687078e (patch)
tree48563e76e5da08bd43e1cf10db2908a902820ce0 /dist
parent74325015e7b3bab83826eefb61b9ad1808b1524d (diff)
Fix crash with recursively loading cached compilation units
When a cached compilation unit depends on an import that is implemented as a Qml C++ plugin and that plugin in turn loads an asynchronous component that is cached, we would get a crash in the typeloader and a failing assertion (ASSERT: "d->m_mainThreadWaiting == false" in file qml/ftw/qqmlthread.cpp, line 300) This is because we did not implement the asynchronous loading within the loader thread for cached compilation units. This is simply done using a posted event, using the same mechanism used for other async load methods. Change-Id: Iefce67ab634ce26122c348dcdfc8e66b00fec671 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions