[weld-issues] [JBoss JIRA] (WELD-1010) @PreDestroy method invoked twice
wojtek k (Created) (JIRA)
jira-events at lists.jboss.org
Sat Nov 12 07:23:40 EST 2011
@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
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