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

Registering the same Event twice #157

Open
ChristopheCVB opened this issue Nov 27, 2022 — with Volta.net · 0 comments
Open

Registering the same Event twice #157

ChristopheCVB opened this issue Nov 27, 2022 — with Volta.net · 0 comments
Labels
bug Something isn't working to specify

Comments

Copy link
Member

ChristopheCVB commented Nov 27, 2022

Describe the bug

Registering the same Event twice results in the first one being forgotten

Code Sample

OBSRemoteController.builder()
  //...
  .registerEventListener(CurrentSceneCollectionChangedEvent.class,
    currentSceneCollectionChangedEvent -> System.out.println("First"))
  .registerEventListener(CurrentSceneCollectionChangedEvent.class,
    currentSceneCollectionChangedEvent -> System.out.println("Second"))
  //...

Expected behavior

Both Events callbacks should be invoked.

Additional context

None.

@ChristopheCVB ChristopheCVB added bug Something isn't working to specify labels Nov 27, 2022 — with Volta.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to specify
Projects
None yet
Development

No branches or pull requests

1 participant