[
https://issues.apache.org/jira/browse/OAK-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996340#comment-13996340
]
Michael Dürig commented on OAK-1816:
------------------------------------
The simplest solution would be to have {{ContentRepositoryImpl}} implement
{{Closeable}}.
Another solution would be to have the respective {{Oak}} instance keep track of
the registrations and require the caller of {{createContentRepository}} to
release them once done.
> Oak#createContentRepository never unregisters some of its services
> ------------------------------------------------------------------
>
> Key: OAK-1816
> URL: https://issues.apache.org/jira/browse/OAK-1816
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Michael Dürig
>
> {{Oak#createContentRepository}} registers a bunch of services with the
> {{Whiteboard}} (MBeans, Executor, Observer) that are never unregistered.
--
This message was sent by Atlassian JIRA
(v6.2#6252)