lua-users home
lua-l archive

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


hello, Matt Campbell <mattcampbell@pobox.com>.

On Mon, 13 Aug 2007 10:49:31 -0500
Matt Campbell <mattcampbell@pobox.com> wrote:

> interface, part of Microsoft Active Accessibility.  If such an object
> has a buggy implementation, then holding a reference to that object
> after the corresponding UI element has gone away could lead to a
> crash when the appropriate __gc metamethod finally releases that
> reference.
do not keep references to `dead' objects, or do not let 'em go away. or
implement `proxy layer' which will take care about such cases. there's
no much sense in changing Lua core (and introducing bugs in it %-) just
to work with another buggy code, i think.