标签: node.js mongoose socket.io
每次socket连接时,我都会使用Schema.post('save',function)注册新的post save侦听器。我应该在套接字断开时删除监听器以避免内存泄漏吗?如果是的话怎么做?