python - PyQT4 and Ctrl C -
i have programs runs several threads (on while loop until ctrl c pressed). app has gui developed in pyqt. however, facing following problem:
if press ctrl c on console, , close gui, program exits fine. however, if close gui first, other threads won't stop , program keeps running after ctrl c. knows how address problem?
in qt overload onclose method widget/frame or hook lastwindowsdclosed signal whatever need shut down app - don't know if it's diiferent python
Comments
Post a Comment