Qt Declarative (Quick 2)
Go to file
Olivier De Cannière b34fca3494 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
Change-Id: I2fd7c8829267a2e3de1ac374859a4d21d948dd8f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit d148d8d784)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit fbdbed919f)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-11-20 08:23:08 +00:00
LICENSES Add REUSE.toml files and missing licenses 2024-11-04 10:05:49 +00:00
cmake Mark RegExpJitTables.h as non-module header 2023-04-03 15:38:57 +02:00
coin Change Axivion configuration 2023-10-04 14:37:59 +03:00
dist Add REUSE.toml files and missing licenses 2024-11-04 10:05:49 +00:00
examples Fix warnings in rendercontrol_rhi example 2024-11-13 06:17:25 +00:00
features
src Engine: Mark created wrapped objects after GCState::MarkWeakValues 2024-11-20 08:23:08 +00:00
tests Engine: Mark created wrapped objects after GCState::MarkWeakValues 2024-11-20 08:23:08 +00:00
tools qmltc: Fix usage of namespaced attached types 2024-11-08 20:22:23 +00:00
.cmake.conf Bump version to 6.8.1 2024-09-21 05:47:12 +01:00
.gitattributes qmlformat: improve testing of file based options 2021-11-04 13:35:48 +01:00
.gitignore gitignore: Add compile_commands.json and .ccache 2024-05-16 17:25:19 +02:00
.gitmodules Update to the latest version of the ecmascript test suite 2018-04-26 20:26:36 +00:00
.tag Use tree hash rather than commit hash in .tag file 2022-01-25 23:55:27 +01:00
CMakeLists.txt Fix detection of CMake target ExamplesAssetDownloaderPrivate 2024-07-22 16:13:14 +00:00
README.md Rewrite README.md 2021-08-12 13:15:17 +00:00
REUSE.toml Correct AndroidManifest.xml licensing in REUSE.toml file 2024-11-06 13:02:36 +00:00
configure.cmake Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
dependencies.yaml Update dependencies on '6.8.1' in qt/qtdeclarative 2024-11-19 12:17:12 +00:00
qt_cmdline.cmake Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
qtdeclarative.doxy Add doxyfile for building doxygen documentation 2018-08-16 15:54:40 +00:00