Commit 8594020b authored by Nikolai Kosjar's avatar Nikolai Kosjar

CppTools: Fix crash on document close

Emit the signal only if we are not canceled.

Task-number: QTCREATORBUG-17249
Change-Id: I5082a5fe7554eecdc7ec5d148150c1b169002f6d
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
parent e265c540
......@@ -346,9 +346,9 @@ void CheckSymbols::run()
_usages << QVector<Result>::fromList(_macroUses);
emit codeWarningsUpdated(_doc, _diagMsgs);
emit codeWarningsUpdated(_doc, _diagMsgs);
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