Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

Application freezes when running code with infinite loops #1484

Closed

Description

@FlashTheDash
  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

Issue

The entire application freezes when running code with infinite loops in python. No keyboard shortcuts work, so I can't use keyboard interrupt to stop the script. If I have an infinite loop in my code, then I have to force quit the application to do anything.

Arbitrarily long for loops run just fine.

If I use terminal.app, then keyboard interrupt works just fine.

an example of some code that would cause the application to freeze:

while True:
    #anything can be inside the loop
    print("hello")

Activity

  1. ppot commented on Feb 5, 2017

    @ppot
    Contributor

    Referencing this to #555
    Might be different so I won't close it yet.

  2. added
    📊 Type: Performance
    on Feb 10, 2017
  3. akabab commented on Aug 17, 2017

    @akabab

    where are we with this ?

  4. eshrh commented on Mar 21, 2018

    @eshrh

    Same issue a year later, it turns out that the same issue exists with java, and it only happens if you are printing something inside the loop, if it's a silent infinite loop, you can still ^C it.

  5. chabou commented on Mar 21, 2018

    @chabou
    Contributor

    It has been really improved in our upcoming v2 (currently available on our canary update channel).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    📊 Type: Performance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions