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

Don't crash when ctest job exists on shutdown

BUG: 309715
parent 6a8fac4b
......@@ -71,6 +71,11 @@ void CTestFindJob::findTestCases()
void CTestFindJob::updateReady(const KDevelop::IndexedString& document, const KDevelop::ReferencedTopDUContext& context)
// try not to crash, see:
if (KDevelop::ICore::self()->shuttingDown()) {
kDebug() << m_pendingFiles << document.str();
m_suite->loadDeclarations(document, context);
Markdown is supported
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