Skip to content
Permalink
Browse files

[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 0af700652e8618625a33ed80f3447cde3207800b
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/core/Processing.py
@@ -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

0 comments on commit 0af7006

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