Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-512

XDOM#clone() is leaking IdGenerator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1 M1
    • Fix Version/s: 10.5-rc-1, 9.11.6
    • Component/s: API
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      That means that if it's used it will keep incrementing forever. XDOM#close() should make sure to clone the IdGenerator instance too.

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: