mirror of
https://github.com/lua/lua.git
synced 2025-01-14 05:43:00 +08:00
b4d5dff8ec
When there are multiple errors when closing objects, the error reported by the protected call is the first one, for two reasons: First, other errors may be caused by this one; second, the first error is handled in the original execution context, and therefore has the full traceback.