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

VM ID map not cleared when parent of VM is detached

    XMLWordPrintable

Details

    Description

      Steps to Reproduce

      run the attached test case TestClearVmIdMap_zk4791.java

      Current Result

      test fails in 2 scenarios, where the vm-id-map is not empty after detaching the parent component of the vm comp

      Expected Result

      when a component is detached and a vm is destroyed the key should be removed from the vm-id-map

      Debug Information

      the map still links to the binder and related components, preventing them from being garbage collected

      Workaround

      detach the viewmodel component before the parent component

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: