It's actually pretty trivial to implement weak references with a plugin, all
you need to do is return the object without locking it.  If you don't want
to delve into the plugin SDK, you should give CFDelegate a try.  You'll find
it at my friend Alex's page, http://toomuchspace.com.

I wouldn't hold my breath waiting for RB to implement weak refs directly.
This is a can of worms I doubt RS wants to open.

Math

On 1/6/07, Tom Benson <[EMAIL PROTECTED]> wrote:

I guess this illustrates the difference between reference count based
garbage collection and garbage collection alá Java fairly well. Java
would collect the whole tree once you cut it off at the base, RB
won't because the tree retains references to itself, even though the
program no longer references it.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to