diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-06-14 16:08:48 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-06-15 15:25:00 +0200 |
commit | fdc067dff4d8f2e6e70102a3f8ac56921f668986 (patch) | |
tree | 484e476dc58efea1cef80bf411f4f9b5326daf40 /tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp | |
parent | 8833ade28b06f9951a6ae671dfdfcaced98d06b8 (diff) |
Fix QVariantObject destruction
Make sure to call the VariantObject destructor from its destroy method,
in order to ensure that the ExecutionEngine::ScarceResourceData destructor
we inherit from is also called, which ensures that the refcount in the
QVariant it holds also drops correctly.
Fixes tst_qqmlecmascript::propertyVarCircular
Change-Id: I14df8e2f0d5be6f3049a295a527afa09e19f0ef2
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp')
0 files changed, 0 insertions, 0 deletions