[weld-issues] [JBoss JIRA] (WELD-1010) @PreDestroy method invoked twice

Ales Justin (Assigned) (JIRA) jira-events at lists.jboss.org
Mon Nov 14 18:35:40 EST 2011


     [ https://issues.jboss.org/browse/WELD-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ales Justin reassigned WELD-1010:
---------------------------------

    Assignee: Ales Justin

    
> @PreDestroy method invoked twice
> --------------------------------
>
>                 Key: WELD-1010
>                 URL: https://issues.jboss.org/browse/WELD-1010
>             Project: Weld
>          Issue Type: Bug
>          Components: Scopes & Contexts
>    Affects Versions: 1.1.3.SP1
>         Environment: All
>            Reporter: wojtek k
>            Assignee: Ales Justin
>             Fix For: 1.2.0.Beta1
>
>
> @PreDestroy method on @Dependend scope is invoked twice when we use Bean.destroy() method.
> Problem occurs in destroy() method:
> getInjectionTarget().preDestroy(instance);
> creationalContext.release();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list