Hello, I'm trying to call a function every x seconds
import BigWorld
import threading
import time
def myCheck():
# my code is here ...
# call myCheck() again in 60 seconds
threading.Timer(60, myCheck).start()
# start calling myCheck now and every 60 sec thereafter
myCheck()
The code is working, but after closing the client, there is still running process WorldOfTanks.exe
Is there a way to stop the timer when closing client?