fixed test leak
commitc8be0591d94cc3c72ffad5543b659f63cb13a22f
authorNick Dedekind <nick.dedekind@canonical.com>
dateThu 8 Oct 2015, 16:09 (11 years ago)
parentcf99aec
tests/plugins/Unity/Indicators/UnityMenuModelStackTest.cpp+2
@@ -43,6 +43,8 @@ private Q_SLOTS:
4343 {
4444 delete m_model;
4545 m_model = nullptr;
46+ // quick wait cycle for deleteLaters to act.
47+ waitFor([]{ return false;}, 1);
4648 }
4749
4850 void testHeadOnSetHead()