You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Ben Weidig (Jira)" <ji...@apache.org> on 2021/07/02 10:54:00 UTC

[jira] [Created] (TAP5-2684) Registry shutdown only in TapestryFilter

Ben Weidig created TAP5-2684:
--------------------------------

             Summary: Registry shutdown only in TapestryFilter
                 Key: TAP5-2684
                 URL: https://issues.apache.org/jira/browse/TAP5-2684
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-ioc
    Affects Versions: 5.6.4
            Reporter: Ben Weidig


Maybe I overlooked something, but the registry is only shutdown in the TapestryFilter, which we don't use in our projects.

Adding a runtime shutdown hook would ensure the registry will be shutdown in other scenarios, too.

{code:java}
Runtime.getRuntime().addShutdownHook(new Thread(this::shutdown));
{code}





--
This message was sent by Atlassian Jira
(v8.3.4#803005)