mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
[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:
parent
b6c714ac20
commit
0af700652e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user