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

Hard lock on on_complete callback and Ready future. #8

Open
ypopovych opened this issue Nov 29, 2022 · 0 comments
Open

Hard lock on on_complete callback and Ready future. #8

ypopovych opened this issue Nov 29, 2022 · 0 comments

Comments

@ypopovych
Copy link
Member

on_complete callback can't be called when it's set. This will lead to the hard lock.

The set callback method should return a value if the future is already Ready and avoid a callback call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant