[ https://issues.apache.org/jira/browse/VFS-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010563#comment-17010563 ]
Harald Kuhn commented on VFS-752: --------------------------------- A possible fix would be to call closeFileSystem for every FileSystem in the cache inside the close method. > 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 > Priority: Major > > 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)