From 8028c57b4287bc4c400df1df66199618c5bec459 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 25 Jul 2019 13:10:14 -0700 Subject: [PATCH] fix: activate the uv_loop on incoming IPC messages (#19449) --- lib/renderer/init.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/renderer/init.ts b/lib/renderer/init.ts index a0be6e85a74d..8e4fbf760081 100644 --- a/lib/renderer/init.ts +++ b/lib/renderer/init.ts @@ -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() } })