eventemitterasyncresource.emitDestroy()
调用所有 destroy 钩子。此方法应该只被调用一次。如果被调用多次,将会抛出错误。此方法 必须 手动调用。如果资源被留给垃圾回收器回收,则 destroy 钩子将永远不会被调用。
【Call all destroy hooks. This should only ever be called once. An error will
be thrown if it is called more than once. This must be manually called. If
the resource is left to be collected by the GC then the destroy hooks will
never be called.】