Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

easynetwork_asyncio.ThreadsPortal: Fix future returned by run_coroutine_soon() #139

Merged

Conversation

francis-clairicia
Copy link
Owner

What's changed

  • If the future returned by run_coroutine_soon() is cancelled before the task actually starts, the task is cancelled

@francis-clairicia francis-clairicia added bug Something isn't working topic-async Relative to asynchronous API labels Nov 1, 2023
@francis-clairicia francis-clairicia self-assigned this Nov 1, 2023
Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Merging #139 (4491242) into main (8361c06) will not change coverage.
The diff coverage is 100.00%.

Flag Coverage Δ
OS-Linux 86.97% <100.00%> (+<0.01%) ⬆️
OS-Windows 86.55% <100.00%> (+<0.01%) ⬆️
OS-macOS 86.97% <100.00%> (+<0.01%) ⬆️
Py-3.11 99.89% <100.00%> (+<0.01%) ⬆️
test-functional 87.03% <100.00%> (+<0.01%) ⬆️
test-unit 83.07% <0.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@francis-clairicia francis-clairicia merged commit 941d7e8 into main Nov 1, 2023
11 checks passed
@francis-clairicia francis-clairicia deleted the fix/backend/threads-portal-future-cancellation branch November 1, 2023 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working topic-async Relative to asynchronous API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant