vpython app stopping takes a few minutes
fohrloop opened this issue · 1 comments
fohrloop commented
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 commented
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.