fix: activate the uv_loop on incoming IPC messages (#19449)

This commit is contained in:
Samuel Attard
2019-07-25 13:10:14 -07:00
committed by GitHub
parent 0f5cb7995f
commit 8028c57b42

View File

@@ -48,6 +48,7 @@ v8Util.setHiddenValue(global, 'ipcNative', {
onMessage (internal: boolean, channel: string, args: any[], senderId: number) {
const sender = internal ? ipcInternalEmitter : ipcEmitter
sender.emit(channel, { sender, senderId }, ...args)
process.activateUvLoop()
}
})