[ 
https://issues.apache.org/jira/browse/SHINDIG-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Lindner closed SHINDIG-1439.
---------------------------------


part of 2.5.0-beta1 release.

                
> DefaultGuiceModule installs a shutdown hook to shut down a thread pool
> ----------------------------------------------------------------------
>
>                 Key: SHINDIG-1439
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1439
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 1.1-BETA5, 2.0.0
>            Reporter: Pablo Gra\~na
>            Priority: Minor
>             Fix For: 2.5.0-beta1
>
>
> The shutdown hook holds a reference to the shutdown thread, keeping the 
> webapp classloader always alive.
> Anyway, a shutdown hook will only cleanup resources when the jvm ends. And 
> you probably want the cleanup to happen when the web application is 
> undeployed.
> That is why I think the best option is to use a context loader listener: add 
> a shutdown operation to DefaultGuiceModule and call it in from 
> GuiceServletContextListener.contextDestroyed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to