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

This reverts commit 8028c57b42.
This commit is contained in:
Cheng Zhao 2019-08-14 06:03:25 +09:00 committed by Samuel Attard
parent 28466a39d8
commit 49fe2604b3

View file

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