gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Garbage Collection question


From: strk
Subject: Re: [Gnash-dev] Garbage Collection question
Date: Mon, 26 Nov 2007 14:23:01 +0100

On Mon, Nov 26, 2007 at 01:31:23PM +0100, Udo Giacomozzi wrote:
> The following code works fine in Gnash, but I'm wondering if the GC
> deals correctly with it? The only reference to the class instance is
> held by the core (setInterval), no AS variable.
> 
> Usage of the class (tested and working with Gnash):
> 
>   new Timeout(function() { trace("foo"); }, 5000);

>From server/timers.h:

        /// Resources reachable from Timer are:
        ///
        ///     - Arguments list (_args)
        ///     - Associated function (_function)
        ///     - Target object (_object)

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]