On Fri, Jun 15, 2007 at 05:52:14PM +0200, Udo Giacomozzi wrote:
> Hello strk,
>
> Friday, June 15, 2007, 5:14:51 PM, you wrote:
> s> First of all, the current implementation allows a compile-time selection
> s> between the old ref-counted model (RC) and the new garbage-collected model
> (GC).
> s> The default is the RC one, as the GC one is still bogus.
>
>
> Sorry for this question, but what is the problem with the RC model?
> Can you show me some code that creates an "unreachable" object?
First case:
frame1: function f() {}
frame2: <empty>
Second case (easier to understand):
a = new object; b = new object;
a.p = b; b.p = a;
delete a; delete b;
// Both 'a' and 'b' are lost with a refcount of 1
--strk;
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev