mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-06 08:25:57 -04:00
Fixed potential race condition in resource assembly
This commit is contained in:
parent
17be289f37
commit
cb023cde40
2 changed files with 6 additions and 2 deletions
|
@ -551,7 +551,8 @@ class Link:
|
|||
break
|
||||
|
||||
if remove != None:
|
||||
self.pending_requests.remove(remove)
|
||||
if remove in self.pending_requests:
|
||||
self.pending_requests.remove(remove)
|
||||
|
||||
def request_resource_concluded(self, resource):
|
||||
if resource.status == RNS.Resource.COMPLETE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue