mwcraig / ipyevents

A custom widget for returning mouse and keyboard events to Python. Documentation:
https://ipyevents.readthedocs.io/en/latest/index.html
BSD 3-Clause "New" or "Revised" License
112 stars 27 forks source link

Deleting python `Event` object leaves all listeners still active #33

Closed mwcraig closed 5 years ago

mwcraig commented 5 years ago

The code below reproduces the issue, which is that the JS event listeners and the registered callbacks on the python side persists after the python Event object is deleted. Seems like they should all be cleaned up...

mwcraig commented 5 years ago

Nvm, deleting a python object turns out not to be so possible....