Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
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

Open
@nut799

Description

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.

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

        AltStyle によって変換されたページ (->オリジナル) /