Skip to content

Fix PointerEvent leak in InputSystem - #3447

Open
halx99 wants to merge 1 commit into
axmolengine:devfrom
simdsoft:fix-input-sys-leak
Open

halx99 wants to merge 1 commit into
axmolengine:devfrom
simdsoft:fix-input-sys-leak

Conversation

@halx99

@halx99 halx99 commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Describe your changes

Issue ticket number and link

Checklist before requesting a review

For each PR

  • Add Copyright if it missed:
    - "Copyright (c) 2019-present Simdsoft Limited."

  • Copyright notice guidance:
    - Axmol source files generally use the Simdsoft notice above.
    - Project-wide contributor attribution is maintained in LICENSE and AUTHORS.md.
    - Do not remove historical upstream or third-party copyright notices from files that already contain them.

  • I have signed the Axmol Contributor Agreement (or am covered by an Enterprise CCA).

  • I have performed a self-review of my code.

    Optional:

    • I have checked readme and add important infos to this PR.
    • I have added/adapted some tests too.

For core/new feature PR

  • I have checked readme and add important infos to this PR.
  • I have added thorough tests.

Axmol 3.x ------------------------------------------------------------

For each 3.x PR

  • Check the '#include "axmol.h"' and replace it with the needed headers.

…estructor

- Call InputSystem::destroyInstance() in Director::~Director() before releasing _eventDispatcher so _isolatedMoveEvent and _scrollEvent are properly destroyed on shutdown
- Guard InputDelegate::~InputDelegate() against recreating InputSystem after teardown

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant