[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Child states and garbage collection
- From: Jamie Webb <j@...>
- Date: Mon, 13 Sep 2004 16:36:51 +0100
On Mon, Sep 13, 2004 at 09:14:50AM -0500, Matthew Harmon wrote:
> Ahhh... thank you very much.
>
> So, is it true that having a SCRIPT loaded (and a reference to it saved), is
> not enough to prevent the STATE in which it is loaded from being GC'd?
Correct. The idea of a script being loaded within a given state is not
even valid. The loaded script is (potentially) available to all the
connected states. You just choose to execute it within a particular
state (and so for convenience load it such that it is placed on the
stack of that state).
-- Jamie Webb