Skip to content

SwiftPrivateThreadExtras: correct misuse of API #32593

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

Merged
merged 1 commit into from
Jun 29, 2020

Conversation

compnerd
Copy link
Member

Copy out the result rather than form a dangling pointer. This fixes the
incorrect usage that the compiler flags.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Copy out the result rather than form a dangling pointer.  This fixes the
incorrect usage that the compiler flags.
@compnerd
Copy link
Member Author

Thanks to @gwynne for nudging me to fix this!

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd merged commit ebf01c9 into swiftlang:master Jun 29, 2020
@compnerd compnerd deleted the dangling branch June 29, 2020 16:14
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