diff options
author | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-09-07 14:35:47 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@theqtcompany.com> | 2015-09-11 07:15:34 +0000 |
commit | 3799188e704e48ff8e9aa728cd76101b15f21fd2 (patch) | |
tree | 83c9165bbea1567f5717ce3f7c59c8141f52c99b /tests | |
parent | 5e252f9b9ceea72fc1acb5fb41b81abc34cab46d (diff) | |
download | qtquickcontrols-3799188e704e48ff8e9aa728cd76101b15f21fd2.tar.gz |
Menu: Schedule popup deletion when it's about to hide
This leads to serious memory/OpenGL context leaks on
Windows. No such thing has been noticed on Linux which
may hint to differences in the backend.
Task-number: QTBUG-47682
Change-Id: I274ed98db348ffe2c78707f2c92b812f272c2723
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/controls/data/tst_combobox.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/controls/data/tst_combobox.qml b/tests/auto/controls/data/tst_combobox.qml index af1fc9dd..057ff471 100644 --- a/tests/auto/controls/data/tst_combobox.qml +++ b/tests/auto/controls/data/tst_combobox.qml @@ -74,6 +74,7 @@ TestCase { function cleanup() { if (model !== 0) model.destroy() + wait(0) // spin the event loop to get all popups to close } function test_keyupdown() { |