mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-10 00:04:23 -04:00
We now always call QgsProcessingAlgorithm::postProcess, even when the algorithm fails for some reason (eg it raises an exception). This ensures that the context cleanup logic in postProcess is always run. Note that we still ONLY call an algorithm's specific postProcessAlgorithm implementation for successful executions, so the public facing API and behavior remains unchanged. This is intented to provide a consistent handling of the cleanup logic in postProcess, specifically to make sure that that the context thread handling logic is triggered in all cases.