Skip to content
Permalink
Browse files

[plugin manager] Call abort before disconnecting finished

  • Loading branch information
nirvn authored and nyalldawson committed Mar 10, 2019
1 parent 7eee128 commit 376fbf513f036640008d62528d8f5d21ed9aea94
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/pyplugin_installer/installer_data.py
@@ -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):

0 comments on commit 376fbf5

Please sign in to comment.
You can’t perform that action at this time.