Answering my own question:

ComponentInstance.dispose();

Best regards,
Alex soto


> On Jun 3, 2016, at 9:40 AM, Alex Soto <alex.s...@envieta.com> wrote:
> 
> With SCR,  there is a way to programmatically create a new component on 
> demand:
> 
> 
>               ComponentFactory.newInstance
> 
> Once I finish using the created instance,  how can I tell SCR to destroy it?
> 
> 
> Best regards,
> Alex soto
> 
> 
> 
> 

Reply via email to