lightweight-charts-python
lightweight-charts-python copied to clipboard
Callback/event on closing the chart.
Question
Hey, Is there a callback for when the window is closed? I don't find it anywhere in the documentation.
Code example
Hey, if you are talking about closing the entire app, you could use some regular stuff like atexit.
I have a script that is fecthing candles from a server. If I close the chart window the fetching script keeps running. I'd like to release my handles in case I want to open it again with a console command. Can I do that with atexit?