Browse Source

chore: revert activation if the uv_loop on incoming IPC messages (#19739)

This reverts commit c0e9761b4b4dabf8db20258d52b5199d80549c64.
Cheng Zhao 5 years ago
parent
commit
063bcb68f2
1 changed files with 0 additions and 2 deletions
  1. 0 2
      lib/renderer/init.ts

+ 0 - 2
lib/renderer/init.ts

@@ -45,12 +45,10 @@ const ipcInternalEmitter = new EventEmitter()
 v8Util.setHiddenValue(global, 'ipc', ipcEmitter)
 v8Util.setHiddenValue(global, 'ipc-internal', ipcInternalEmitter)
 
-const savedProcess = process
 v8Util.setHiddenValue(global, 'ipcNative', {
   onMessage (internal: boolean, channel: string, args: any[], senderId: number) {
     const sender = internal ? ipcInternalEmitter : ipcEmitter
     sender.emit(channel, { sender, senderId }, ...args)
-    savedProcess.activateUvLoop()
   }
 })