Skip to content
Browse files

[processing] GDAL algorithms can now be canceled!

Previously there was no way to terminate the GDAL process, so if you
accidently got some parameter values wrong it was very easy to end
up with a quasi-endless, non-cancelable gdal algorithm burning away cpu in the
background of a qgis session... ouch!
  • Loading branch information
nyalldawson committed Jan 8, 2021
1 parent 50b5e56 commit 54ec5acf1f68eabb159d61efc287ca0112702b2b
Showing with 0 additions and 3 deletions.
  1. +0 −3 python/plugins/processing/algs/gdal/
@@ -63,9 +63,6 @@ def createInstance(self, config={}):
def createCustomParametersWidget(self, parent):
return GdalAlgorithmDialog(self, parent=parent)

def flags(self):
return QgsProcessingAlgorithm.FlagSupportsBatch # cannot cancel!

def getConsoleCommands(self, parameters, context, feedback, executing=True):
return None

0 comments on commit 54ec5ac

Please sign in to comment.
You can’t perform that action at this time.