Skip to content

Conversation

@kevinkk525
Copy link
Contributor

Fix errors when wait_for gets cancelled.

If wait_for() itself gets cancelled, wait_for currently doesn't know if itself got cancelled or if the killer task cancelled the awaited task aw.
Fixes parts of #5797

Fix errors when wait_for gets cancelled.
for wait_for being cancelled.
for wait_for being cancelled
@kevinkk525
Copy link
Contributor Author

Added the testcase too. Without the PR changes the test will result in an error "local variable referenced before assignment"

@dpgeorge
Copy link
Member

dpgeorge commented Dec 2, 2020

Superseded and fixed by b505971

@dpgeorge dpgeorge closed this Dec 2, 2020
@dpgeorge dpgeorge added the extmod Relates to extmod/ directory in source label Dec 2, 2020
@kevinkk525 kevinkk525 deleted the patch-2 branch December 2, 2020 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extmod Relates to extmod/ directory in source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants