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. Screenshot 2023-07-26 at 4.48.22 PM.png
          Screenshot 2023-07-26 at 4.48.22 PM.png
          85 kB
        2. IssueRichlet.java
          0.9 kB
        3. issue.zip
          14 kB
        4. desktopNotCleared.jpg
          desktopNotCleared.jpg
          93 kB

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

              Created:
              Updated:
              Resolved: