This PR fixes crashes happening in APIKeyBasedConnectionPool by adding a queue to sync access to the endPointToProvider dictionary.
A previous fix was applied to IAMBasedConnectionPool here: https://github.com/awslabs/aws-mobile-appsync-sdk-ios/pull/569
Additionally, I'm fixing some tests no longer compiling after upgrading to the latest SDK version.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes:
This PR fixes crashes happening in
APIKeyBasedConnectionPool
by adding a queue to sync access to theendPointToProvider
dictionary. A previous fix was applied toIAMBasedConnectionPool
here: https://github.com/awslabs/aws-mobile-appsync-sdk-ios/pull/569Additionally, I'm fixing some tests no longer compiling after upgrading to the latest SDK version.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.