Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add a check for nullptr on mGatherer in QgsFeatureFilterModel::update…
…Completer. Also avoid relying on signal to slot call order conservation to make sure that gathererThreadFinished is called after updateCompleter : - gathererThreadFinished is disconnected from finished signal emitted at the end of QgsFieldExpressionValuesGatherer::run - gathererThreadFinished is instead called explicitly at the end of updateCompleter - when QgsFieldExpressionValuesGatherer::run is stopped manually, rely on the connection to QgsFieldExpressionValuesGatherer::deleteLater to clean mGatherer. This should fix an observed bug where a crash happened at the begining of updateCompleter because mGatherer was null.
- Loading branch information