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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user