]
Martin Kouba reassigned WFLY-9234:
----------------------------------
Assignee: Matej Novotny (was: Stuart Douglas)
@Dependent bean instance created through
javax.enterprise.inject.spi.CDI not always destroyed during shutdown
-------------------------------------------------------------------------------------------------------------
Key: WFLY-9234
URL:
https://issues.jboss.org/browse/WFLY-9234
Project: WildFly
Issue Type: Bug
Components: CDI / Weld
Affects Versions: 11.0.0.Beta1
Reporter: Matej Novotny
Assignee: Matej Novotny
Priority: Minor
Doing {{CDI.current().select(MyDependentBean.class)}} gives you a bean which might not
always be correctly destroyed on shutdown.
The spec does not clearly state what should happen with these instances but it makes
sense to properly dispose of them on shutdown. See WELD-2413 for background information.