lua/manual
Roberto Ierusalimschy 389116d8ab Coroutines do not unwind the stack in case of errors
Back to how it was, a coroutine does not unwind its stack in case of
errors (and therefore do not close its to-be-closed variables). This
allows the stack to be examined after the error. The program can
use 'coroutine.kill' to close the variables.

The function created by 'coroutine.wrap', however, closes the
coroutine's variables in case of errors, as it is impossible to examine
the stack any way.
2019-05-09 11:13:45 -03:00
..
2html Year in copyright notice updated to 2019 2019-03-25 14:00:09 -03:00
manual.of Coroutines do not unwind the stack in case of errors 2019-05-09 11:13:45 -03:00