fix: activate the uv_loop on incoming IPC messages (#19449)
This commit is contained in:
parent
0f5cb7995f
commit
8028c57b42
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ 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()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue