Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-1123

Cleanup the event listeners added on GWT widgets annotated with @EventHandler

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ErraiUI
    • Labels:

      Description

      @Templated views add event listeners on the elements annotated with @EventHandler. Looks like the whe a GWT widget is annotated with @EventHandler isn't correctly cleaning the events when the templte is destroyed.
      For native HTMLElements errai is removing he event listeners when the Template is destroyed, it would be nice to have the same for GWT Widgets

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tfernand Tiago Bento
                Reporter:
                pere.fernandez Pere Fernandez Perez
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: