Skip to content

Potential for memory leakage #3

@crosby-moe

Description

@crosby-moe

Subscribing an object to an EventBus via EventBus.subscribe(Object) adds said object and it's associated listeners to the listenerCache during the getListeners call. This map is never shrunk/cleared, resulting in said objects never being able to be garbage collected, even after being unsubscribed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions