Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-3144

Ensure the client is closed when the bean is out of scope

    XMLWordPrintable

Details

    Description

      The Client for a proxy client should be closed once it falls of CDI scope. Not closing it logs messages that the client was not closed when the user has no way to close it.

      See https://github.com/eclipse/microprofile-rest-client/issues/348 and https://github.com/resteasy/resteasy/pull/3102#discussion_r890933436

      Attachments

        Issue Links

          Activity

            People

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: