Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Where is EventRegistration release. #1

Description

@nut799

Hi, thanks for this lib for c++ eventbus.
I have a question.
I find that in AddHandler. it will :EventRegistration* registration = new EventRegistration
But in
virtual void removeHandler() { if (registered) { registrations->remove(this); registered = false; } }
I do not find use delete to release it.
Is there a memleak?
Thanks a lot.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions