Memory leak in ajaxell `EventHandler` class
The ajaxell EventHandler
class stores pointers to heap-allocated 'function pointer' wrappers in the callbacks_
member variable.
These callback instances are currently only deleted if the removeEvent
or removeEvents
methods are called. They are not deleted by the class' destructor, leading to a memory leak.
This was spotted when running the SWATCH cell under valgrind
.