xwiki/xwiki-commons — comment on commit 6b06e2ee1d25ac78b1b5a6d0912206b7ae237722
File: xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-default/src/main/java/org/xwiki/component/embed/EmbeddableComponentManager.java line 245
By dgervalle:

On the other hands, creating and destroying Singletons is not a very common pattern. And, therefore, I am not sure release was needed in first place. I do not have many UC in mind, the most common I see, is providing a component an easy auto-destruction mechanism, in a critical situation, to restart in a fresh situation. Other UC will use unregister/register to reload a component with a different implementation, and not this release method.