事件:'disconnect'
\Event: 'disconnect'
新增于: v0.7.7
如果 Node.js 进程是使用 IPC 通道生成的(请参阅 子进程 和 集群 文档),则当 IPC 通道关闭时将触发 'disconnect' 事件。
\If the Node.js process is spawned with an IPC channel (see the Child Process
and Cluster documentation), the 'disconnect' event will be emitted when
the IPC channel is closed.