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

TransferCoordinator.results() hangs after cancel() is called #249

Open
cfxegbert opened this issue Nov 5, 2022 · 0 comments
Open

TransferCoordinator.results() hangs after cancel() is called #249

cfxegbert opened this issue Nov 5, 2022 · 0 comments

Comments

@cfxegbert
Copy link

s3transfer 0.6.0

When TransferCoordinator.cancel() is called it checks to see if it needs to call the announce_done() method. The only case it will call announce_done() is when the state is "not-done". If cancel() is called when the state is "queued" or "running" then announce_done() is not called. This causes the _done_event never to be set. Calling result() will block forever waiting for _done_event to be set.

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