Skip to content

Registering the same Event twice #157

Description

@ChristopheCVB

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions