<div dir="ltr">Hi<div><br></div><div>We're running Weld 2.0.3.Final in a Java SE environment and have encountered a precarious situation where it seems like Weld is not consistent in handling the lifecycle of singleton beans.</div>
<div><br></div><div>We have singleton beans with @PostConstruct and @PreDestroy methods. During Weld.initialize() all @PostConstruct methods are called. But during @PreDestroy methods are never called during Weld.shutdown(). @PreDestroy is only called on beans which are @ApplicationScoped.</div>
<div><br></div><div>Is this according to specification or a bug?<br></div><div><br></div><div>Cheers,</div><div>-Kristoffer</div></div>