Hi, i have a Qt timer that emits timeout() every 500ms (interval set to 500ms, setSingleShot = true)

so in my slot for the timeout()

i do some processing and call timer->start(); so that it will continue to call timeout.

the problem comes when i close the program using the X close button at the top right of the window. I realised that my Qt program is still running in the background.. most prob the timer did not get killed cleanly.

how do i solve problems like this?

thanks man.!