aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4stringobject.cpp
diff options
context:
space:
mode:
authorOlivier De Cannière <olivier.decanniere@qt.io>2024-11-11 13:23:39 +0100
committerOlivier De Cannière <olivier.decanniere@qt.io>2024-11-14 07:53:32 +0100
commitd148d8d78419effdc28b6bf74704379aa9a5950a (patch)
treed94ac6475a0502fa1ee4f45b2e548a7962f2400e /src/qml/jsruntime/qv4stringobject.cpp
parent48d1ae7f76c0cb418e9fe256a30e9a3a994f3ec0 (diff)
Engine: Mark created wrapped objects after GCState::MarkWeakValues
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 Pick-to: 6.8 Change-Id: I2fd7c8829267a2e3de1ac374859a4d21d948dd8f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4stringobject.cpp')
0 files changed, 0 insertions, 0 deletions