Merge 3.5
This commit is contained in:
commit
68669d57d6
|
@ -249,8 +249,7 @@ class Task(futures.Future):
|
|||
result._blocking = False
|
||||
result.add_done_callback(self._wakeup)
|
||||
self._fut_waiter = result
|
||||
if self._must_cancel:
|
||||
if self._fut_waiter.cancel():
|
||||
if self._must_cancel and self._fut_waiter.cancel():
|
||||
self._must_cancel = False
|
||||
else:
|
||||
self._loop.call_soon(
|
||||
|
|
Loading…
Reference in New Issue