avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21521] New: - [PATCH] Fortress' PerThreadComponentHandler does not dispose components properly
Date Fri, 11 Jul 2003 17:34:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21521>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21521

[PATCH] Fortress' PerThreadComponentHandler does not dispose components properly

           Summary: [PATCH] Fortress' PerThreadComponentHandler does not
                    dispose components properly
           Product: Avalon
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Avalon
        AssignedTo: dev@avalon.apache.org
        ReportedBy: unico@hippo.nl


PerThreadComponentHandler implements doDispose() method as follows:

disposeComponent( m_instance.get() );

Since m_instance is a ThreadLocal only the component instance associated with
the thread managing the disposal of the ComponentHandler will get disposed.

This patch records all component instances created in order to be able to
dispose them properly.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message