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

Client side memory leak for Grid and Listbox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 9.6.0
    • Fix Version/s: None
    • Component/s: Components
    • Labels:
      None
    • Environment:

      Chrome

      Zk9.6

      Description

      Steps to Reproduce

      • Open any page with Grid or Listbox
      • Perform an action that will detach the Grid or Listbox
      • Capture a memory snapshot using Chrome Developer tool

      Current Result

      • Detached Dom Nodes reference by Grid/Listbox's eheadrows or efootrows instance variable.

      Expected Result

      • No Detached Dom Nodes reference by Grid/Listbox

      Debug Information

       

      Workaround

      zk.override(zul.mesh.MeshWidget.prototype, "clearCache", function()

      {      this.$clearCache();      if (this.eheadrows) this.eheadrows = null;      if (this.efootrows) this.efootrows = null; }

      );

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            hengsin hengsin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: