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

fix(IoT): Fixing a race condition when invalidating/creating the reconnect timer #5454

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ruisebas
Copy link
Member

Issue #, if available:

Description of changes:

The reconnectTimer property is created in the timerQueue queue, but it can be invalidated and set to nil in the main queue inside the cleanupReconnectTimer method.

See the issue for a more detailed analysis and explanation by @AndrKonovalov

Check points:

  • Added new tests to cover change, if needed
  • All unit tests pass
  • All integration tests pass
  • Updated CHANGELOG.md
  • Documentation update for the change if required
  • PR title conforms to conventional commit style

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ruisebas ruisebas requested review from awsmobilesdk and a team as code owners October 25, 2024 21:41
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

Successfully merging this pull request may close these issues.

1 participant