lua-users home
lua-l archive

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


I have *no* requirement to explicitly unload. I agree it is dangerous.


On Fri, 03 Sep 2004 12:32:05 -0300, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> > > And is the unloading of dynamic libraries during run-time really
> > > necessary?
> > For Win32, yes.
> > while (condition) {
> >    L=lua_open();
> >    lua_pcall();   /* loads libraries */
> >    lua_close(L);
> > }
> 
> For "run-time" I meant at an arbitrary point during program execution,
> not when closing Lua. The "unload-when-closing" case seems strong. My
> question regards the "unload-at-programmer-will" case.
> 
> -- Roberto
> 



-- 
db