socket.unref()
- 返回值: <net.Socket> 套接字本身。
在套接字上调用 unref() 将允许程序退出,如果这是事件系统中唯一活动的套接字。如果套接字已经被 unref,再次调用 unref() 将不会有任何效果。
【Calling unref() on a socket will allow the program to exit if this is the only
active socket in the event system. If the socket is already unrefed calling
unref() again will have no effect.】