Skip to content

fix: RegisterEvents/UnregisterEvents in CConnman should handle it correctly when support for both kqueue and epoll is compiled in - #5932

Merged
knst merged 1 commit into
dashpay:developfrom
UdjinM6:fix_reg_unreg
Mar 12, 2024
Merged

knst merged 1 commit into
dashpay:developfrom
UdjinM6:fix_reg_unreg

Conversation

@UdjinM6

@UdjinM6 UdjinM6 commented Mar 10, 2024

Copy link
Copy Markdown

Issue being fixed or feature implemented

Fixes a potential issue if kqueue and epoll would be supported by the same system one day. Discovered the issue via tsan failure https://gitlab.com/dashpay/dash/-/jobs/6357040641 in #5511.

What was done?

Trivial changes to wrap logic in if(...) {...} instead of bailing out early, no-whitespaces diff a679a58?w=1

How Has This Been Tested?

Breaking Changes

n/a

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

…it correctly when support for both kqueue and epoll is compiled in

@PastaPastaPasta PastaPastaPasta left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

utACK a679a58

@knst knst left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

utACK a679a58

@knst
knst merged commit d67098f into dashpay:develop Mar 12, 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