mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-28 16:01:28 +00:00
set regardless, there is no need for the check
This commit is contained in:
parent
aaa9982932
commit
82ef76b1cb
1 changed files with 1 additions and 2 deletions
|
@ -23,5 +23,4 @@ class TaskGroup:
|
||||||
def cancel(self):
|
def cancel(self):
|
||||||
for task in self._tasks:
|
for task in self._tasks:
|
||||||
task.cancel()
|
task.cancel()
|
||||||
if len(self._tasks) < 1:
|
self.done.set()
|
||||||
self.done.set()
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue