Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes #34779 crash in testrelationreference test
  • Loading branch information
troopa81 authored and 3nids committed Mar 25, 2020
1 parent 05545b2 commit a147193
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsfeaturefiltermodel.cpp
Expand Up @@ -353,6 +353,8 @@ void QgsFeatureFilterModel::updateCompleter()

void QgsFeatureFilterModel::gathererThreadFinished()
{
// It's possible that gatherer run method is not completely over, so we wait
mGatherer->wait();
delete mGatherer;
mGatherer = nullptr;
emit isLoadingChanged();
Expand Down

0 comments on commit a147193

Please sign in to comment.