delete node.js events, listeners goes away too?

Problem

If I delete a node.js event, the listeners go away too right? I don’t have to delete anything else?

Problem courtesy of: Harry

Solution

You mean deleting an EventEmitter instance? (or, equally, an Object that inherits from EventEmitter?)

In this case I think that each listener would be deleted as well when you delete the object instance, they’re part of the object instance

Solution courtesy of: BFil

View additional discussion.