forked from qt-creator/qt-creator
ClangRefactoring: Test for non existing client
This can be happen as we shutdown the process. Change-Id: I69f30ed65ef4456abe6d59b4ea188a67c482efe0 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -142,7 +142,8 @@ void RefactoringServer::setGathererProcessingSlotCount(uint count)
|
||||
|
||||
void RefactoringServer::setProgress(int progress, int total)
|
||||
{
|
||||
client()->progress({ProgressType::Indexing, progress, total});
|
||||
if (client())
|
||||
client()->progress({ProgressType::Indexing, progress, total});
|
||||
}
|
||||
|
||||
void RefactoringServer::gatherSourceRangesForQueryMessages(
|
||||
|
||||
Reference in New Issue
Block a user