Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5521

Support Closeable for provider state

    XMLWordPrintableJSON

Details

    Description

      To prevent from potential memory leaks we should support Closeable for the provider state: if a resource resolver is still open while a resource provider is unregistered, the provider becomes unavailable and can't be called for logout anymore.
      However, the resource resolver still holds the provider state and can call methods on it. Therefore we could support ading close() if the state object implements Closeable and proberly cleanup (given that the state object itself can clean up)

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: