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

Desktop of stateless components is not cleared after reloading [CloudMode]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 10.0.0
    • 10.0.0.FL
    • None

      Steps to Reproduce

      1. visit IssueRichlet with 10.0.0.FL.20230220 (zul and stateless)
      2. reload page for 4 times
      3. dump heap with VisualVM, check DesktopImpl

      Alternative Steps to reproduce

      1. extract issue.zip
      2. run gradle appRun
      3. visit http://localhost:8080/shopping_cart_demo/issue
      4. reload page for 4 times
      5. dump heap with VisualVM, check DesktopImpl

      Current Result

      there are 5 DesktopImpl

      Expected Result

      1 desktop only

      Debug Information

      they are all held by SimpleDesktopCache

        1. desktopNotCleared.jpg
          93 kB
          hawk
        2. IssueRichlet.java
          0.9 kB
          hawk
        3. Screenshot 2023-07-26 at 4.48.22 PM.png
          85 kB
          jumperchen

            jumperchen jumperchen
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: