diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-07-14 14:44:57 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-07-15 21:18:32 +0200 |
commit | 8d326a649938e23ecc0756fe8c42bf6cccca0251 (patch) | |
tree | ed126f7d88bb2d3475b29709cc4abe3884b0e37f /src/qml/qml/qqmlpropertycachemethodarguments_p.h | |
parent | 18ba7ed4933273ba463bd9b663fd83dee490bccd (diff) |
Resolve data race on QQmlPropertyCache's arguments object
We need make its assignment atomic.
This does not apply to Qt6, because in Qt6 we don't need the property
cache to resolve argument types.
Task-number: QTBUG-93973
Change-Id: I9588c3582754a9aba3a6aa9e325de87d44d06aa2
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlpropertycachemethodarguments_p.h')
-rw-r--r-- | src/qml/qml/qqmlpropertycachemethodarguments_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlpropertycachemethodarguments_p.h b/src/qml/qml/qqmlpropertycachemethodarguments_p.h index 978f6ec1e4..096571040c 100644 --- a/src/qml/qml/qqmlpropertycachemethodarguments_p.h +++ b/src/qml/qml/qqmlpropertycachemethodarguments_p.h @@ -64,8 +64,6 @@ public: //for signal handler rewrites QString *signalParameterStringForJS; - int parameterError:1; - int argumentsValid:1; QList<QByteArray> *names; |