On Mon, 20 Jul 2020 at 11:11, Sergey Kovalev <[hidden email]> wrote:
> "...Lua does not distinguish between stack errors and other errors when
> calling the closing method, so any error while running it will call it
> again..." ( http://lua-users.org/lists/lua-l/2020-07/msg00225.html )
> defer and <close> should not be used until "called twice" will be
> fixed. This behaviour is unacceptable.
Hi, I have not yet been able to pinpoint exactly which piece of code
in 5.4 is doing this ... in my 'defer' patch for 5.3 this does not
Maybe there is some technical reason why this cannot be avoided, I do
not know yet.