Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
378c0913
Commit
378c0913
authored
Oct 18, 2015
by
Don Gagne
Browse files
Give deleteLater's and Qml time to clean up
parent
502f51ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/qgcunittest/UnitTest.cc
View file @
378c0913
...
...
@@ -128,6 +128,9 @@ void UnitTest::cleanup(void)
{
_cleanupCalled
=
true
;
// We add a slight delay here to allow for deleteLater and Qml cleanup
QTest
::
qWait
(
200
);
// Keep in mind that any code below these QCOMPARE may be skipped if the compare fails
if
(
_expectMissedMessageBox
)
{
QEXPECT_FAIL
(
""
,
"Expecting failure due internal testing"
,
Continue
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment