lua-users home
lua-l archive

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


> I believe that in the new Luasocket Diego has added WSACleanup(),
> however it is up to the user to call it. I use a gc method on
> the socket namespace to make sure it gets called.

Yes. Not sure how to do it nicely, though. It depends on the ongoing
packaging discussion. Right now I have a __unload method in the
namespace that can be called whenever the user wants to, but I am not
calling it automatically.