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

RBUS Events are not received if handle is closed and reopened. #221

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

cbucht200
Copy link
Contributor

Event dispatch thread state is maintained in a static global variable. When rbus handle is shutdown, the state is never set to false, so any future handles opened will not receive events.

Reproduction steps:

  • Open RBus Handle
  • Register for event
  • Close RBus Handle
  • Open new RBus Handle
  • Register for event

The process will not receive events, because the event dispatch thread is not started.

Event dispatch thread state is maintained in a static global variable. When rbus handle is shutdown, the state is never set to false, so any future handles opened will not receive events.
@karuna2git karuna2git merged commit 2b82a4d into rdkcentral:main Oct 8, 2024
4 checks passed
karuna2git pushed a commit that referenced this pull request Jan 7, 2025
Event dispatch thread state is maintained in a static global variable. When rbus handle is shutdown, the state is never set to false, so any future handles opened will not receive events.
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