On 21/08/2018 10:00 PM, Tim Ward via osgi-dev wrote:
Have you looked at what the OSC project does? It uses Vaadin, and uses the ViewProvider interface
to provide view instances. These automatically have a detach listener added on creation so that
they get correctly disposed when their parent container is closed.
See
https://github.com/opensecuritycontroller/osc-core/blob/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/java/org/osc/core/broker/view/OSCViewProvider.java#L60-L67 for
details.
Tim
Hi Tim,
The R7 Spec 112.3.6 states that "SCR must unget any unreleased service objects" and it sounds to me
that the system is supposed to clean itself up.
What am I missing.
Paul Fraser
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev