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

Adam Heath updated VFS-143:
---------------------------

    Attachment: fix_DelegateFile-listener-leak.patch

Against svn 501759.

> 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
>         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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to