brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <>
Subject [GitHub] incubator-brooklyn pull request: Don't leak machines on shutdown
Date Tue, 28 Jul 2015 10:13:16 GMT
Github user aledsage commented on a diff in the pull request:
    --- Diff: usage/rest-server/src/test/java/brooklyn/rest/ ---
    @@ -235,6 +238,7 @@ private ContextHandler servletContextHandler(ManagementContext managementContext
             ResourceConfig config = new DefaultResourceConfig();
             for (Object r: BrooklynRestApi.getAllResources())
    +        config.getSingletons().add(new ShutdownRequestListenerProvider(new TestShutdownRequestListener()));
    --- End diff --
    How does this `new TestShutdownRequestListener` related to the `shutdownListener` field?
Does anything use the field?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message