Skip to content

Commit

Permalink
[plugin manager] Call abort before disconnecting finished
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn authored and nyalldawson committed Mar 10, 2019
1 parent 7eee128 commit 376fbf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyplugin_installer/installer_data.py
Expand Up @@ -352,8 +352,8 @@ def fetchingInProgress(self):
def killConnection(self, key):
""" kill the fetching on demand """
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()
self.mRepositories[key]["xmlData"].finished.disconnect()

# ----------------------------------------- #
def xmlDownloaded(self):
Expand Down

0 comments on commit 376fbf5

Please sign in to comment.