I have a simple page with a backing bean which redirects (FacesContext.getCurrentInstance().getExternalContext().redirect(target)) to an external website when a commandButton is pushed.
I notice that when using @ViewAccessScoped or @javax.faces.bean.ViewScoped the predestroy method only runs at session expiration time. It's fine with @javax.enterprise.context.RequestScoped. Based on the contracts for @View*Scoped I'd expect the predestroy to run and the beans to be garbage collected, is this expected behavior or a memory leak? Regards, Brendan. p.s. I'm using JSF 2.1.12 & CODI 1.05 -- View this message in context: http://old.nabble.com/CODI-scoped-beans-%40PreDestroy-not-running-after-redirect-tp34402504p34402504.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

