[ 
https://issues.apache.org/jira/browse/VFS-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Neidhart resolved VFS-143.
---------------------------------
       Resolution: Implemented
    Fix Version/s: 2.0

This has already been implemented in the 2.0 release.

> Fix memory leak in DelegateFileObject in it's handling of listeners
> -------------------------------------------------------------------
>
>                 Key: VFS-143
>                 URL: https://issues.apache.org/jira/browse/VFS-143
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Adam Heath
>             Fix For: 2.0
>
>         Attachments: fix_DelegateFile-listener-leak.patch
>
>
> DelegateFileObject adds itself as a listener to the wrapped file.  This adds 
> a *hard* reference to the DelegateFileObject, which prevents it from being 
> garbaged collected.  So, create a WeakRefFileListener proxy, to solve the 
> problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to