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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions