lua-users home
lua-l archive

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


> > Actually the method works very well with the exception of the Lua
> > termination. If I terminate the Lua top level with ctrl-D
> > (end-of-file) it seems that the whole machinery fails to ensure the
> > proper order for finalizers.
> 
> It seems that I've found the cause of the problem but it is still very
> unclear to me. The problem arise in the function lua_close, shown
> below:
>
> [...]

I think the proper solution would be to elliminate the references from
plot to lines (or at least to elliminate the use of such references when
finalizing a plot). Surely a plot may exist without a line, because it is
created first (when there are no lines around).

-- Roberto