mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-22 15:44:59 +00:00
PICARD-1391: Avoid exception when closing active requests
This commit is contained in:
committed by
Philipp Wolfer
parent
820dd45199
commit
80eafdc392
@@ -476,7 +476,7 @@ class WebService(QtCore.QObject):
|
||||
queryargs=queryargs)
|
||||
|
||||
def stop(self):
|
||||
for reply in self._active_requests:
|
||||
for reply in list(self._active_requests):
|
||||
reply.abort()
|
||||
self._init_queues()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user