forked from goodboy/tractor
Woops, fix one last `ctx._cancelled_caught` in drain loop
parent
c025761f15
commit
1617e0ff2c
|
@ -196,8 +196,8 @@ async def _drain_to_final_msg(
|
||||||
(ctx._stream.closed
|
(ctx._stream.closed
|
||||||
and (reason := 'stream was already closed')
|
and (reason := 'stream was already closed')
|
||||||
)
|
)
|
||||||
or (ctx._cancelled_caught
|
or (ctx.cancel_acked
|
||||||
and (reason := 'ctx caught a cancel')
|
and (reason := 'ctx cancelled other side')
|
||||||
)
|
)
|
||||||
or (ctx._cancel_called
|
or (ctx._cancel_called
|
||||||
and (reason := 'ctx called `.cancel()`')
|
and (reason := 'ctx called `.cancel()`')
|
||||||
|
|
Loading…
Reference in New Issue