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

Fixes an issue where a continuation was called twice #151

Merged
merged 3 commits into from
Nov 26, 2024

Conversation

jensutbult
Copy link
Contributor

  • OATHSession would in some cases call its continuation twice causing a crash
  • Some errors would break the foreach that loops over wired connections

return
}
guard let configuration = deviceInfo.configuration else {
self.wiredContinuation?.resume(throwing: "Error!!!")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the "Error!!!" to explanation that deviceInfo configuration is not valid

Copy link
Member

@AdamVe AdamVe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jensutbult jensutbult marked this pull request as ready for review November 26, 2024 10:11
@jensutbult jensutbult merged commit b219493 into main Nov 26, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants