Describe the bug
In #3809, description states that "This is fully backwards compatible. No code changes required."
This may be not entirely correct. For example, after using Bedrock's InvokeModelWithBidirectionalStreamAsync(), Aws::ShutdownAPI(options) lock indefinitely.
Regression confirmed by building and using both 1.11.800 and 1.11.801 version with the same test code.
Regression Issue
Expected Behavior
Aws::ShutdownAPI() exits cleanly after limited amount of time
Current Behavior
Aws::ShutdownAPI() does not exit.
Reproduction Steps
Implement Sonic streaming client and unit tests to use InvokeModelWithBidirectionalStreamAsync() with audio streaming.
Aws::InitAPI()
invoke tests
Aws::ShutdownAPI() -- hangs here
Possible Solution
Is there an API call I could use to unblock the resources ShutdownAPI() may be waiting on?
Additional Information/Context
No response
AWS CPP SDK version used
1.11.801
Compiler and Version used
Visual Studio 2026/VC++ toolset v145
Operating System and version
Windows 11
Describe the bug
In #3809, description states that "This is fully backwards compatible. No code changes required."
This may be not entirely correct. For example, after using Bedrock's InvokeModelWithBidirectionalStreamAsync(), Aws::ShutdownAPI(options) lock indefinitely.
Regression confirmed by building and using both 1.11.800 and 1.11.801 version with the same test code.
Regression Issue
Expected Behavior
Aws::ShutdownAPI() exits cleanly after limited amount of time
Current Behavior
Aws::ShutdownAPI() does not exit.
Reproduction Steps
Implement Sonic streaming client and unit tests to use InvokeModelWithBidirectionalStreamAsync() with audio streaming.
Aws::InitAPI()
invoke tests
Aws::ShutdownAPI() -- hangs here
Possible Solution
Is there an API call I could use to unblock the resources ShutdownAPI() may be waiting on?
Additional Information/Context
No response
AWS CPP SDK version used
1.11.801
Compiler and Version used
Visual Studio 2026/VC++ toolset v145
Operating System and version
Windows 11