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] [Assigned] (TAP5-2684) Registry shutdown only in TapestryFilter

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

Ben Weidig reassigned TAP5-2684:
--------------------------------

    Assignee: Ben Weidig

> 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
>            Assignee: Ben Weidig
>            Priority: Minor
>
> 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)