Make QML import thread safe.
authorUlf Hermann <ulf.hermann@digia.com>
Thu, 30 Jan 2014 12:34:21 +0000 (13:34 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 30 Jan 2014 12:44:37 +0000 (13:44 +0100)
commit80fdecb3a548f1afbb3000ef62fed6d3f942f7ea
treef8aee124a8838ec94fa18bbee2e87cbea055ae78
parent0d0ffba93895316b9a395e28b1165b103858fea5
Make QML import thread safe.

Protect the common qmlEnginePluginsWithRegisteredTypes by a mutex.

Task-number: QTBUG-36542
Change-Id: Ia3c731f030b778d862239486cc6c1bfa441503e6
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/qml/qqmlimport.cpp