aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2017-04-20 10:49:11 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-04-26 08:31:32 +0000
commit2da8e40fe22396eec158c160ac75ab23d4a0abd8 (patch)
treeb2e912ba601f6ec16e9959fd8aeb03b4e903c01f /src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp
parentf76dd50d42b91234dcb7c0ea0775382e369f11ae (diff)
QML: clear the property cache on QObjectWrapper destuction
If an external QObject is exposed to an engine through a QObjectWrapper, make sure to deref and clear the propertyCache reference in the object's declarative data when the QObjectWrapper is destroyed. This makes sure that there is no dangling propertyCache pointer when the object is subsequently exposed to another engine. Task-number: QTBUG-57633 Change-Id: I37f6793d8be65b23b4e81bb4ed91db18271261b0 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> (cherry picked from commit 749a7212e903d8e8c6f256edb1836b9449cc7fe1)
Diffstat (limited to 'src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp')
0 files changed, 0 insertions, 0 deletions