开发者

Delete node.js events, listeners goes away too?

If I delete a node.js event, the list开发者_开发百科eners go away too right? I don't have to delete anything else?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜