Commit 1cc6f7d6 authored by Milian Wolff's avatar Milian Wolff
Browse files

Unset CTestFindJob::m_suite before emitResult

Better safe than sorry, this should ensure we don't try to run
updateReady when nothing is left to be done. I don't think this
could have happened before, but this makes the code easier to
reason about.

Thanks to Igor Kushnir for spotting this!
parent 2875aa96
Pipeline #195413 passed with stage
in 13 minutes and 44 seconds
......@@ -47,6 +47,7 @@ void CTestFindJob::findTestCases()
qCDebug(CMAKE) << "Source files to update:" << m_pendingFiles;
if (m_pendingFiles.isEmpty()) {
m_suite = nullptr;
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