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

Don't double panic in futures-test::test::panic_waker::wake_panic #2236

Merged
merged 1 commit into from
Oct 17, 2020

Conversation

asomers
Copy link
Contributor

@asomers asomers commented Oct 17, 2020

This function can get called during Drop, so it's important not to panic
if the thread is already panicking. Doing so makes debugging panics much
harder.

This function can get called during Drop, so it's important not to panic
if the thread is already panicking. Doing so makes debugging panics much
harder.
Copy link
Member

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

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

Thanks!

@taiki-e taiki-e merged commit 66949b8 into rust-lang:master Oct 17, 2020
@taiki-e taiki-e mentioned this pull request Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants