File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -706,7 +706,6 @@ class AsyncTask(Task):
706
706
async def wait (self ):
707
707
if self .state == AsyncCallState.STARTING :
708
708
self .inst.may_enter_async = False
709
- self .unblock_next_pending = False
710
709
else :
711
710
self .maybe_unblock_next_pending()
712
711
return await super ().wait()
@@ -722,7 +721,6 @@ class AsyncTask(Task):
722
721
self .state = AsyncCallState.STARTED
723
722
if not self .inst.may_enter_async:
724
723
self .inst.may_enter_async = True
725
- self .unblock_next_pending = len (self .inst.pending_async_tasks) > 0
726
724
727
725
def return_ (self ):
728
726
trap_if(self .state != AsyncCallState.STARTED )
Original file line number Diff line number Diff line change @@ -531,7 +531,6 @@ async def enter(self):
531
531
async def wait (self ):
532
532
if self .state == AsyncCallState .STARTING :
533
533
self .inst .may_enter_async = False
534
- self .unblock_next_pending = False
535
534
else :
536
535
self .maybe_unblock_next_pending ()
537
536
return await super ().wait ()
@@ -547,7 +546,6 @@ def start(self):
547
546
self .state = AsyncCallState .STARTED
548
547
if not self .inst .may_enter_async :
549
548
self .inst .may_enter_async = True
550
- self .unblock_next_pending = len (self .inst .pending_async_tasks ) > 0
551
549
552
550
def return_ (self ):
553
551
trap_if (self .state != AsyncCallState .STARTED )
You can’t perform that action at this time.
0 commit comments