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

chore(IoT): optimistic workaround for cleaning up nsoutputstream #3208

Merged
merged 1 commit into from Nov 6, 2020

Conversation

wooj2
Copy link
Contributor

@wooj2 wooj2 commented Nov 6, 2020

Currently do not have a good way to test this.

The code we currently have deployed to production follows the sample here:
https://developer.apple.com/library/archive/samplecode/SimpleURLConnections/Introduction/Intro.html#//apple_ref/doc/uid/DTS40009245

But just found that the documentation seems to explicitly state ordering of closing then removing from the runloop:
https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Streams/Articles/WritingOutputStreams.html

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@wooj2 wooj2 changed the title chore(IoT): untested workaround for cleaning up nsoutputstream chore(IoT): optimistic workaround for cleaning up nsoutputstream Nov 6, 2020
@wooj2 wooj2 merged commit e33353c into develop Nov 6, 2020
@wooj2 wooj2 deleted the chore/cleanupdecoderstream branch November 6, 2020 19:00
@palpatim
Copy link
Member

palpatim commented Nov 7, 2020

Merged this in as an optimistic fix for #2770. Will go out on next release

gabek pushed a commit to KeepSafe/aws-sdk-ios that referenced this pull request Aug 31, 2023
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.

None yet

2 participants