Skip to content

Conversation

@jagerman
Copy link
Member

The condition in set_erase_impl was not the proper negation of set insertion, and so the clean check was only short-circuiting when the set existed but didn't contain the value, but not properly short-circuiting when the set did not exist at all.

This fixes it, along with test case.

The condition in set_erase_impl was not the proper negation of set
insertion, and so the clean check was only short-circuiting when the set
existed but didn't contain the value, but *not* properly
short-circuiting when the set did not exist at all.

This fixes it, along with test case.
@jagerman jagerman merged commit a8c935f into session-foundation:dev Dec 16, 2025
1 check passed
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