We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb0d528 commit 682a89cCopy full SHA for 682a89c
python/pyplugin_installer/installer_data.py
@@ -386,7 +386,7 @@ def fetchingInProgress(self):
386
# ----------------------------------------- #
387
def killConnection(self, key):
388
""" kill the fetching on demand """
389
- if self.mRepositories[key]["xmlData"] and self.mRepositories[key]["xmlData"].isRunning():
+ if self.mRepositories[key]["state"]==1 and self.mRepositories[key]["xmlData"] and self.mRepositories[key]["xmlData"].isRunning():
390
self.mRepositories[key]["xmlData"].finished.disconnect()
391
self.mRepositories[key]["xmlData"].abort()
392
0 commit comments