diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-08-27 12:11:18 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-27 13:55:22 +0200 |
commit | fc9199e4dbce55b011f66c36391e6c6aa08bd318 (patch) | |
tree | 990b1bad59f9c46163bee2ca6ee3313ebecb31de /tests/auto/qml/qqmllanguage | |
parent | c317b2e46527b14c8fd30e0d198a9ee134cee123 (diff) |
Improve reliability of propertyVarOwnership test
In the last expect-to-collect-a-QObject test, avoid calling gc() from within
JavaScript and call it from C++ instead with zap stacking. That reduces the
probability of finding an old reference on the stack that would keep the
object alive.
Change-Id: Ia9c66dd188f31264a70ad4dbd20356d16aa7a057
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmllanguage')
0 files changed, 0 insertions, 0 deletions