Hi all, I need to stop a thread running in the background when the associated interface (i.e. main ipywidget) is closed or when the associated cell is deleted. Not doing so would lead to a bunch of zombie threads after a while. So my questions are:
Is there a way to be notified when the user click on close button of a ipywiget? I tried the 'observe' way but it doesn't seem to work - the callback is not called when I close the widget. As a workaround, hiding the 'X' button could also be a solution cause I can provide my own 'close' button. Is it possible to hide the default X button? Concerning the cells, is there a way to be notified when a specific cell is removed from the notebook? Thanks for your help, Nicolas -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/15ad43d9-cca1-477d-b917-3a55721b2472%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
