Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset source after event handling #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zbynek
Copy link

@zbynek zbynek commented Jun 30, 2023

The DOM events in GWT 2.10 are subclasses of GwtEvent which takes care of resetting source using kill/revive. The new implementation that uses Event directly does not do that, which leads to private static flyweight objects keeping a reference to the last handled event source and thus leaking memory.

This PR does not add any tests because parts of DomEventTest are commented out, waiting for j2cl-compatible implementation of Widget.

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.

None yet

1 participant