aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of10
1 files changed, 7 insertions, 3 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 771bace0..164e359a 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -4098,10 +4098,12 @@ and then pops the top element.
4098Resets a thread, cleaning its call stack and closing all pending 4098Resets a thread, cleaning its call stack and closing all pending
4099to-be-closed variables. 4099to-be-closed variables.
4100Returns a status code: 4100Returns a status code:
4101@Lid{LUA_OK} for no errors in closing methods, 4101@Lid{LUA_OK} for no errors in the thread
4102(either the original error that stopped the thread or
4103errors in closing methods),
4102or an error status otherwise. 4104or an error status otherwise.
4103In case of error, 4105In case of error,
4104leaves the error object on the top of the stack, 4106leaves the error object on the top of the stack.
4105 4107
4106} 4108}
4107 4109
@@ -6577,7 +6579,9 @@ that is,
6577closes all its pending to-be-closed variables 6579closes all its pending to-be-closed variables
6578and puts the coroutine in a dead state. 6580and puts the coroutine in a dead state.
6579The given coroutine must be dead or suspended. 6581The given coroutine must be dead or suspended.
6580In case of error closing some variable, 6582In case of error
6583(either the original error that stopped the coroutine or
6584errors in closing methods),
6581returns @false plus the error object; 6585returns @false plus the error object;
6582otherwise returns @true. 6586otherwise returns @true.
6583 6587