Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-574

warning about not closed OperationProviders when calling DefaultFilesystemManager.close

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Labels:

      Description

      I see a warning on application shutdown.

      WARN : DefaultFilesystemManager.close: not all components are closed: [com.intridea.io.vfs.provider.s3.operations.S3FileOperationsProvider@30b544a5]
      

      I am using common-vfs2 version 2.1.1660580.1 and an s3 provider is on the classpath that defines a OperationProvider implementation.

      looking at the code seems that operation providers are added in components collection on setup, but closeCompoent is not invoked for operation providers on close().

        Attachments

        1. vfs-closeop.diff
          2 kB
          Bernd Eckenfels

          Issue Links

            Activity

              People

              • Assignee:
                b.eckenfels Bernd Eckenfels
                Reporter:
                tsachev Vladimir Tsanev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: