Commit a63b5222 authored by Milian Wolff's avatar Milian Wolff
Browse files

Fix memory leaks in test_duchain-clang

Process delayed deletion events in cleanup.
parent c9ecb4dc
Pipeline #202371 passed with stage
in 13 minutes and 43 seconds
......@@ -77,6 +77,8 @@ void TestDUChain::cleanup()
if (m_provider) {
IDefinesAndIncludesManager::manager()->unregisterBackgroundProvider(m_provider.data());
}
// process delayed events
QTest::qWait(0);
}
void TestDUChain::init()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment