diff options
author | Robert Griebl <robert.griebl@qt.io> | 2024-06-11 12:53:59 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2024-06-12 20:16:36 +0200 |
commit | e3cd0205f08aa1ab780bd9c724cd6345fa9cb9e8 (patch) | |
tree | a21a221583de53864aa5897d40eb68c8d4b17eeb /examples/applicationmanager/process-status/apps | |
parent | fead222914d36165430480ccb2e8b719172f43f1 (diff) |
Fix data-race on taskRequestingInstallationAcknowledge parameter5.15
The backing PackageInfo* for the 'package' parameter was modified in
the installation thread (setBaseDir), AFTER the signal was emitted
on the UI thread and QML was able to access the baseDir property.
The idea of using a temporary Package object for that signal emission
was not a wise choice, but we cannot easily change that now without
breaking the QML API for PackageManager.
Change-Id: Ib042292e11b42a89263360e501fe7eb90a4ca765
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
(cherry picked from commit a3f04c5ff678b50d93beb8401f226224fd555774)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit f2ca218d9aa37010f357b8a548295a5cbf534269)
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'examples/applicationmanager/process-status/apps')
0 files changed, 0 insertions, 0 deletions