forked from LBRYCommunity/lbry-sdk
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):
|
||||
for task in self._tasks:
|
||||
task.cancel()
|
||||
if len(self._tasks) < 1:
|
||||
self.done.set()
|
||||
self.done.set()
|
||||
|
|
Loading…
Reference in a new issue