Skip to content

Commit

Permalink
[Plugin Installer] Fixes #8244 (crash on closing http request)
Browse files Browse the repository at this point in the history
  • Loading branch information
borysiasty committed Jul 9, 2013
1 parent cb0d528 commit 682a89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyplugin_installer/installer_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def fetchingInProgress(self):
# ----------------------------------------- #
def killConnection(self, key):
""" kill the fetching on demand """
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():
self.mRepositories[key]["xmlData"].finished.disconnect()
self.mRepositories[key]["xmlData"].abort()

Expand Down

0 comments on commit 682a89c

Please sign in to comment.