lua-users home
lua-l archive

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




On Sun, Jul 15, 2018 at 12:49 Pierre Chapuis <catwell@archlinux.us> wrote:

Snip



This is important when you write code that deals with a resource that has to be released immediately and not asynchronously so you cannot rely on `__gc`, e.g. a database transaction, a mutex, arguably some file descriptors...

[1] https://docs.python.org/2.5/whatsnew/pep-343.html



What about calling collectgarnage(“collect”)?