fix_kbi_in_ctx_block
Tyler Goodlet 2021-10-04 12:28:55 -04:00
parent b1235442fb
commit 8fd515c7b9
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
Fix keyboard interrupt handling in ``Portal.open_context()`` blocks.
Previously this not triggering cancellation of the remote task context
and could result in hangs if a stream was also opened. This fix is to
accept `BaseException` since it is likely any other top level exception
other then kbi (even though not expected) should also get this result.