[QGIS Commit] r13742 - trunk/qgis/python/plugins/plugin_installer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Jun 17 15:02:08 EDT 2010


Author: borysiasty
Date: 2010-06-17 19:02:08 +0000 (Thu, 17 Jun 2010)
New Revision: 13742

Modified:
   trunk/qgis/python/plugins/plugin_installer/__init__.py
   trunk/qgis/python/plugins/plugin_installer/installer_plugin.py
Log:
fix #2775

Modified: trunk/qgis/python/plugins/plugin_installer/__init__.py
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/__init__.py	2010-06-17 18:46:16 UTC (rev 13741)
+++ trunk/qgis/python/plugins/plugin_installer/__init__.py	2010-06-17 19:02:08 UTC (rev 13742)
@@ -15,7 +15,7 @@
   return "Plugin Installer"
 
 def version():
-  return "Version 1.0.10"
+  return "Version 1.0.11"
 
 def description():
   return "Downloads and installs QGIS python plugins"

Modified: trunk/qgis/python/plugins/plugin_installer/installer_plugin.py
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/installer_plugin.py	2010-06-17 18:46:16 UTC (rev 13741)
+++ trunk/qgis/python/plugins/plugin_installer/installer_plugin.py	2010-06-17 19:02:08 UTC (rev 13742)
@@ -119,6 +119,9 @@
   # ----------------------------------------- #
   def unload(self):
     """ remove the menu item and notify label """
+    # kill pending http requests
+    for key in repositories.all():
+      repositories.killConnection(key)
     if QGIS_MAJOR_VER: # new plugin API
       self.iface.pluginMenu().removeAction(self.action)
     else: # old plugin API



More information about the QGIS-commit mailing list