alexmojaki / heartrate

Simple real time visualisation of the execution of a Python program.
MIT License
1.76k stars 123 forks source link

How to stop the thread #15

Closed yy05idiot closed 1 month ago

yy05idiot commented 1 month ago

image Hi, I am currently testing the heartrate monitoring for my Python program, and it is really useful. However, I have a question: after the program runs, heartrate seems to not end on its own, and using sys.exit() doesn’t work either. How should I set it up so that the program officially ends its execution?

yy05idiot commented 1 month ago

I got it from the other issue topic, daemon=True, thanks anyway