Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REPL Ctr-C #2653

Closed
pistacchio opened this issue Jul 18, 2019 · 2 comments · Fixed by #2662

Comments

@pistacchio
Copy link

commented Jul 18, 2019

Tested on MacOsX Mojave with Deno

deno: 0.12.0
v8: 7.7.200
typescript: 3.5.1

When running the REPL, while Ctrl-D exits the program, Ctrl-C yields the following exception:

thread 'tokio-runtime-worker-0' panicked at 'not yet implemented', ../../cli/deno_error.rs:197:12
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
thread 'main' panicked at 'internal error: entered unreachable code', ../../third_party/rust_crates/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.21/src/runtime/threadpool/mod.rs:296:26
thread 'tokio-runtime-worker-2' panicked at 'unexpected state while aborting task: Complete', ../../third_party/rust_crates/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/task/mod.rs:216:21

As a reference, for instance, on Ctrl-C Node would say:

>
(To exit, press ^C again or ^D or type .exit)
@ry

This comment has been minimized.

Copy link
Collaborator

commented Jul 18, 2019

Thanks for the report. Likely we need a fix like 1fde15c

@nayeemrmn

This comment has been minimized.

Copy link
Contributor

commented Jul 18, 2019

Linux, too. This was working on 0.11.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.