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


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