You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Harald Kuhn (Jira)" <ji...@apache.org> on 2020/01/08 10:43:00 UTC

[jira] [Created] (VFS-752) AbstractFileProvider close should close all fileSystems before clearing the cache

Harald Kuhn created VFS-752:
-------------------------------

             Summary: AbstractFileProvider close should close all fileSystems before clearing the cache
                 Key: VFS-752
                 URL: https://issues.apache.org/jira/browse/VFS-752
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.5.0
            Reporter: Harald Kuhn


The close method of AbstractFileProvider currently only clears the cache of FileSystem references without closing them first. This can cause open connections (e.g. with the SFTPProvider) if each FileSystem  is not explicitly closed via closeFileSystem. This is a bit error prone.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)