mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-19 00:04:52 -04:00
fix #2775
git-svn-id: http://svn.osgeo.org/qgis/trunk@13742 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
4cac434965
commit
b6256d025d
@ -15,7 +15,7 @@ def name():
|
|||||||
return "Plugin Installer"
|
return "Plugin Installer"
|
||||||
|
|
||||||
def version():
|
def version():
|
||||||
return "Version 1.0.10"
|
return "Version 1.0.11"
|
||||||
|
|
||||||
def description():
|
def description():
|
||||||
return "Downloads and installs QGIS python plugins"
|
return "Downloads and installs QGIS python plugins"
|
||||||
|
@ -119,6 +119,9 @@ class InstallerPlugin():
|
|||||||
# ----------------------------------------- #
|
# ----------------------------------------- #
|
||||||
def unload(self):
|
def unload(self):
|
||||||
""" remove the menu item and notify label """
|
""" 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
|
if QGIS_MAJOR_VER: # new plugin API
|
||||||
self.iface.pluginMenu().removeAction(self.action)
|
self.iface.pluginMenu().removeAction(self.action)
|
||||||
else: # old plugin API
|
else: # old plugin API
|
||||||
|
Loading…
x
Reference in New Issue
Block a user