Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4722

_assocFormSaveBindings not always cleaned (causing memory leak + NPEs)

XMLWordPrintable

    • ZK 9.5.1 S1

      Steps to Reproduce

      run the attached example
      click the save button (multiple times)

      Current Result

      the collection BinderImpl._formAssociatedSaveBindings is growing, containing SavePropertBindings to detached componets

      -> causing memory leak
      (NPEs in more specific cases)

      Expected Result

      bindings of detached components should be removed

      Debug Information

      The binding is added for the outerVM but attempted to remove from the innerVM
      -> leaving the stale reference on the outer binder

      Workaround

            DevChu DevChu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: