1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-05 10:03:06 +00:00

Address #876 Don't allow scheduling a fiber once it has been canceled already.

We were effectively cancelling the cancellation.
This commit is contained in:
Calvin Rose
2021-11-18 20:06:29 -06:00
parent af946f398e
commit 6f7e81067c
4 changed files with 7 additions and 3 deletions

View File

@@ -759,7 +759,7 @@ static int line() {
case 3: /* ctrl-c */
norawmode();
kill(getpid(), SIGINT);
/* fallthrough */
/* fallthrough */
case 17: /* ctrl-q */
gbl_cancel_current_repl_form = 1;
clearlines();