You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Paul Lindner (JIRA)" <ji...@apache.org> on 2010/11/12 20:11:14 UTC
[jira] Resolved: (SHINDIG-1439) DefaultGuiceModule installs a
shutdown hook to shut down a thread pool
[ https://issues.apache.org/jira/browse/SHINDIG-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Lindner resolved SHINDIG-1439.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
fixed!
> 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: 3.0.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.