1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-24 03:04:49 +00:00

Update CHANGELOG.md

This commit is contained in:
Calvin Rose
2022-02-09 22:31:27 -06:00
parent a9f38dfce4
commit e64da8ede4
2 changed files with 6 additions and 2 deletions

View File

@@ -1338,8 +1338,7 @@ static JanetSignal janet_check_can_resume(JanetFiber *fiber, Janet *out, int is_
*out = janet_cstringv("C stack recursed too deeply");
return JANET_SIGNAL_ERROR;
}
/* If a "task" fiber is trying to be used as a normal fiber, detect that and fix the reference
* count. See bug #920. */
/* If a "task" fiber is trying to be used as a normal fiber, detect that. See bug #920. */
if (janet_vm.stackn > 0 && (fiber->gc.flags & JANET_FIBER_FLAG_ROOT)) {
*out = janet_cstringv(is_cancel
? "cannot cancel root fiber"