Skip to content

Commit 682a89c

Browse files
committed
[Plugin Installer] Fixes #8244 (crash on closing http request)
1 parent cb0d528 commit 682a89c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyplugin_installer/installer_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def fetchingInProgress(self):
386386
# ----------------------------------------- #
387387
def killConnection(self, key):
388388
""" kill the fetching on demand """
389-
if self.mRepositories[key]["xmlData"] and self.mRepositories[key]["xmlData"].isRunning():
389+
if self.mRepositories[key]["state"]==1 and self.mRepositories[key]["xmlData"] and self.mRepositories[key]["xmlData"].isRunning():
390390
self.mRepositories[key]["xmlData"].finished.disconnect()
391391
self.mRepositories[key]["xmlData"].abort()
392392

0 commit comments

Comments
 (0)