Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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
  • Loading branch information
volaya committed Feb 3, 2016
1 parent b6c714a commit 0af7006
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/core/Processing.py
Expand Up @@ -106,8 +106,8 @@ def removeProvider(provider):
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
Expand Down

0 comments on commit 0af7006

Please sign in to comment.