Please sign in to comment.
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