Browse Source

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

Samuel Attard 5 years ago
parent
commit
8028c57b42
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/renderer/init.ts

+ 1 - 0
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()
   }
 })