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

fix: debounce_timeout compare different iterators #739

Closed
wants to merge 1 commit into from

Conversation

wennmbj
Copy link
Contributor

@wennmbj wennmbj commented Jul 12, 2024

Function get_subscriber() returns a copy of the set (not a reference). A new copy is returned on every call. Therefore, the comparison happens between iterators of two different copies of the set - which will never be equal. Generally the get_subscriber should be refactored to return a reference instead of copy.

Function get_subscriber() returns a copy of the set (not a reference).
A new copy is returned on every call. Therefore, the comparison happens
between iterators of two different copies of the set - which will never
be equal. Generally the get_subscriber should be refactored to return a
reference instead of copy.
@duartenfonseca
Copy link
Collaborator

this pull request will be closed since this change will be added here: 2ad557f

@fcmonteiro fcmonteiro closed this Aug 9, 2024
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.

3 participants