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

Add missing panic check in drop impl #287

Merged
merged 1 commit into from
Apr 27, 2024
Merged

Conversation

jschwe
Copy link
Member

@jschwe jschwe commented Apr 27, 2024

All other panic!s in drop implementation check first if the thread is already panicking.
This prevents double panics, which can hide the actual issue.

All other `panic!`s in drop implementation check
first if the thread is already panicking.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
@mrobinson mrobinson added this pull request to the merge queue Apr 27, 2024
Merged via the queue into servo:main with commit 6ad94f9 Apr 27, 2024
16 checks passed
@jschwe jschwe deleted the jschwender/panics branch April 27, 2024 14:18
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.

2 participants