Skip to content

cmd/geth: Ctrl-C in combination with js causes unclean shutdown #16506

@rustyx

Description

@rustyx

System information

Geth version: 1.8.3-stable
OS & Version: Windows 10 x64

Expected behaviour

Clean shutdown when pressing Ctrl-C while a script is running.

Actual behaviour

Unclean shutdown.

Steps to reproduce the behaviour

  1. Create a file test.js with the following contents:
    eth.filter("latest", function() {});
  2. Start geth js test.js
  3. Once started, press Ctrl+C.
  4. Geth is killed instead of gracefully shutting down.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions