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

vpython app stopping takes a few minutes #127

Open
fohrloop opened this issue Nov 12, 2020 · 1 comment
Open

vpython app stopping takes a few minutes #127

fohrloop opened this issue Nov 12, 2020 · 1 comment

Comments

@fohrloop
Copy link

Steps to reproduce

  • Create script.py:
from vpython import *
b = box()
  • Run python script.py on cmd / Powershell on Windows. New tab appears in browser.
  • Close the browser tab
  • Try to terminate the application with Ctrl-C, Ctrl-D, .. Nothing seems to happen. After few minutes (1? 5? 10?) the script returns to the console.

What would be expected

  • Hitting Ctrl-C exits the process immediately.

Versions

  • vpython 7.6.1
  • Python 3.7.9 64-bit on Windows
@BruceSherwood
Copy link
Member

Thanks for the report. I note that there is a workaround, which is that if you kill the browser, not just the tab, there is a clean exit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants