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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -