diff options
author | Olivier De Cannière <[email protected]> | 2024-11-11 13:23:39 +0100 |
---|---|---|
committer | Olivier De Cannière <[email protected]> | 2024-11-20 08:23:08 +0000 |
commit | b34fca34941ecdbf99819bbf58b45332ac9e6fa7 (patch) | |
tree | c6d701873e841e708b57faf8d319b3b2e89e4aa9 /examples | |
parent | e9659a684e2b87cc2a0e08329d8f1d63c92d4027 (diff) |
If an object is wrapped after the MarkWeakValues state of the GC but
before the sweep, it will not have been marked and will be collected.
We need to mark wrapped objects when they are created in those cases.
Fixes: QTBUG-130767
Change-Id: I2fd7c8829267a2e3de1ac374859a4d21d948dd8f
Reviewed-by: Ulf Hermann <[email protected]>
(cherry picked from commit d148d8d78419effdc28b6bf74704379aa9a5950a)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit fbdbed919f59cc7b4520f5aab2149f4c99b63e24)
Reviewed-by: Jani Heikkinen <[email protected]>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions