Skip to content

[TaskLocals] dont crash checking for taskgroup when in no task #37681

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 8, 2021

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented May 28, 2021

Resolves rdar://78587643

We'd crash when checking if we're in a task group, but no task was available.

@ktoso
Copy link
Contributor Author

ktoso commented May 28, 2021

Reported via @slashmo, thanks!

@ktoso
Copy link
Contributor Author

ktoso commented May 28, 2021

@swift-ci please smoke test and merge

@ktoso
Copy link
Contributor Author

ktoso commented Jun 7, 2021

@swift-ci please smoke test

@ktoso ktoso merged commit 0e5f0b0 into swiftlang:main Jun 8, 2021
@ktoso ktoso deleted the wip-task-local-dont-crash-local branch June 8, 2021 05:51
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