Skip to content
Discussion options

You must be logged in to vote

Hi. Thanks for your question.

What are the implications of not doing that (apart that obviously I risk to don't have all the objects in the bucket)?

There are a couple things here:

  • Calling Aws::ShutdownAPI() during an async operation would likely result in the in-flight operations to return errors about client initialization - this will be a graceful exit. However, it's important to note that Aws::ShutdownAPI() will still wait for threads to finish completion in order to properly cleanup resources.
  • I know you mentioned that this is not your scenario but if the client or request go out of scope and are destructed during an operation, you'll likely see far worse issues, likely even a cra…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wl-spaceline
Comment options

Answer selected by wl-spaceline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants