[weld-issues] [JBoss JIRA] Created: (WELD-711) Calling Contextual.destroy on an instance still references an instance on BeanManager

George Gastaldi (JIRA) jira-events at lists.jboss.org
Thu Oct 7 00:39:39 EDT 2010


Calling Contextual.destroy on an instance still references an instance on BeanManager
-------------------------------------------------------------------------------------

                 Key: WELD-711
                 URL: https://jira.jboss.org/browse/WELD-711
             Project: Weld
          Issue Type: Bug
          Components: Scopes & Contexts
    Affects Versions: 1.1.0.Beta1, 1.0.1.Final
            Reporter: George Gastaldi
         Attachments: report.txt

Using the seam-faces module @ViewScoped extension, when the object is destroyed by Contextual.destroy, weld still references an instance, avoiding being garbage-collected.

{code}
	Contextual contextual = ...
	Object instance = ...
        CreationalContext creational = ...
	contextual.destroy(instance, creational);
{code}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list