You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TERMINATE (ctrl+c?) signal is not handled correctly, it should gracefully close the application
To reproduce: start the application from a terminal and press ctrl+c inside this terminal, the application should close, but it just ignores the signal. Only KILL works...
The text was updated successfully, but these errors were encountered:
Python cannot handle signals while the Qt event loop is running. Only when the Python interpreter run (when the QApplication quits, or when a Python function is called from Qt) the signal handler will be called.
Fixes:
signal.signal(signal.SIGINT, signal.SIG_DFL) to just close without cleanup
occasionally yield to the Python interpreter for signal processing
The
TERMINATE
(ctrl+c?) signal is not handled correctly, it should gracefully close the applicationTo reproduce: start the application from a terminal and press ctrl+c inside this terminal, the application should close, but it just ignores the signal. Only
KILL
works...The text was updated successfully, but these errors were encountered: