lua-users home
lua-l archive

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

>> Does the garbage collector run when the process terminates?

> The garbage collector runs when the Lua state is closed. The standard Lua
> interpreter closes its Lua state before exiting. The garbage collector does
> not run if the process terminates abnormaly or via an explicit call to os.exit.

So I probably need to hook the SIGBREAK signal.
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential or proprietary to K&L Microwave, Inc. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, immediately contact the sender by reply e-mail and destroy all copies of the original message.