aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qqmlirbuilder.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2024-12-12 17:28:28 +0100
committerUlf Hermann <ulf.hermann@qt.io>2024-12-17 20:49:39 +0100
commit4858dc10048a53499dc94d90da47c3f03efba5d0 (patch)
tree5c92322fa5b35009b5cfc435e6004df44c44b29b /src/qml/compiler/qqmlirbuilder.cpp
parenta6aeb67bd61c2a92d4b283384e2dd724eddbe250 (diff)
QtQml: Simplify type loader thread life cycle
We don't have to keep the thread object around at all while the thread is not running. Just deleting and re-creating it tremendously simplifies things. Furthermore, we can now create it on demand the first time it's needed. This way we gain the ability to determine whether it's still safe to initialize values the thread will later read without locking. Task-number: QTBUG-131721 Change-Id: I702c563ac744387e1be82364b3e87874741d89f4 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/compiler/qqmlirbuilder.cpp')
0 files changed, 0 insertions, 0 deletions