Skip to content

Avoid double drop on panic bug - #5

Closed
bluss wants to merge 1 commit into
masterfrom
black-magic
Closed

bluss wants to merge 1 commit into
masterfrom
black-magic

Conversation

@bluss

@bluss bluss commented Aug 20, 2015

Copy link
Copy Markdown
Owner

We need to make sure the NoDrop enum's discriminant is set to Dropped,
even if we panic during drop of one of the elements.

Bug reported by @Stebalien

Fixes #3

We need to make sure the NoDrop enum's discriminant is set to Dropped,
even if we panic during drop of one of the elements.

Bug reported by @Stebalien

Fixes #3
@bluss

bluss commented Aug 20, 2015

Copy link
Copy Markdown
Owner Author

Crazy solution dude, no way.

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