Addon Manager: Fix abort_all() code

This commit is contained in:
Chris Hennes
2024-02-11 17:18:58 -06:00
parent 269273e102
commit d3a53f4a23

View File

@@ -433,8 +433,8 @@ if HAVE_QTNETWORK:
def abort_all(self):
"""Abort ALL network calls in progress, including clearing the queue"""
for reply in self.replies:
if reply.isRunning():
for reply in self.replies.values():
if reply.abort().isRunning():
reply.abort()
while True:
try: