Skip to content

[Bug] When starting a spinner, the process won't stop after your script is done executing. #348

@ivands

Description

@ivands

Environment

  • OS: macOS
  • Deno Version: 2.2.4
  • Package: @clack/prompts
  • Package Version: 0.11.0

Describe the bug
When starting a spinner, the node / deno process won't stop after your script is done executing.

To Reproduce
Just start the spinner and stop it.
Your process should never quit on its own from now on.

Expected behavior
Your process should properly stop after stopping the spinner.

Additional Information
It probably has something to do with an event listener that's not being cleaned up properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions