Hi Yuriy, On 10 Apr 2014, at 10:50, Yuriy Tymchuk <[email protected]> wrote:
> Hi guys. > > Is there a way to have a week pointer? Or some wrapper with a week pointer? I > know that there are week collections, but I what to have a “variable” that > won’t prevent the object it points to be garbage collected. > > Uko I believe that you should use a WeakArray of size 1 for that. If you think of it, it is almost the same as a WeakValueHolder. Sven
