Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KDevelop
KDevelop
Commits
d8aa51e5
Commit
d8aa51e5
authored
Nov 09, 2012
by
Milian Wolff
Browse files
Don't crash when ctest job exists on shutdown
BUG: 309715
parent
6a8fac4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
projectmanagers/cmake/testing/ctestfindjob.cpp
View file @
d8aa51e5
...
...
@@ -71,6 +71,11 @@ void CTestFindJob::findTestCases()
void
CTestFindJob
::
updateReady
(
const
KDevelop
::
IndexedString
&
document
,
const
KDevelop
::
ReferencedTopDUContext
&
context
)
{
// try not to crash, see: https://bugs.kde.org/show_bug.cgi?id=309715
if
(
KDevelop
::
ICore
::
self
()
->
shuttingDown
())
{
return
;
}
kDebug
()
<<
m_pendingFiles
<<
document
.
str
();
m_suite
->
loadDeclarations
(
document
,
context
);
m_pendingFiles
.
removeAll
(
document
.
str
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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