openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Memleak using Instance<> with dependent
Date Fri, 27 Feb 2015 17:06:22 GMT
Yes.

Will be destoyed with the bean where it is injected IIRC so the app here.
Le 27 févr. 2015 16:59, <karl.kilden@gmail.com> a écrit :

> Hello! I have a bean with @ApplicationScoped. When I inject
> Instance<MyInterface> instance and my actual beans implementing MyInstance
> are dependentscoped they get recreated over and over and are not gc'd.
>
> Expected behavior?
>
> Cheers

Mime
View raw message