[processing] do not recreate algs tree when removing provider

This should fix the problem of QGIS taking to long to shutdown if there are plugins that add algorithms to Processing
This commit is contained in:
volaya 2016-01-19 12:13:06 +01:00
parent b6c714ac20
commit 0af700652e

View File

@ -106,8 +106,8 @@ class Processing:
try:
provider.unload()
Processing.providers.remove(provider)
ProcessingConfig.readSettings()
Processing.updateAlgsList()
del Processing.algs[provider.getName()]
Processing.fireAlgsListHasChanged()
except:
# This try catch block is here to avoid problems if the
# plugin with a provider is unloaded after the Processing