Thanks Martin, this is useful context
Regards
Benjamin
From: Martin Kouba
To: Benjamin Confino , Matej Novotny
Cc: weld-dev@lists.jboss.org
Date: 14/06/2018 10:28
Subject:Re: [weld-dev] RquestScoped not active inside
WeldInitialListener.requestDestroyed
Hello
Hello Benjamin,
First of all, there is no guarantee that the request context is active
during @PreDestroy of a @SessionScoped bean (unlike @PostConstruct
callback of any bean). And it is certainly not active when an http
session times out. And that's the reason why