Changes of Linux canary v0.0.94
This commit is contained in:
parent
efee213eee
commit
3dbfd2fda2
1 changed files with 0 additions and 2 deletions
|
@ -36,12 +36,10 @@ const ipcEmitter = new events_1.EventEmitter();
|
|||
const ipcInternalEmitter = new events_1.EventEmitter();
|
||||
v8Util.setHiddenValue(global, 'ipc', ipcEmitter);
|
||||
v8Util.setHiddenValue(global, 'ipc-internal', ipcInternalEmitter);
|
||||
const savedProcess = process;
|
||||
v8Util.setHiddenValue(global, 'ipcNative', {
|
||||
onMessage(internal, channel, args, senderId) {
|
||||
const sender = internal ? ipcInternalEmitter : ipcEmitter;
|
||||
sender.emit(channel, { sender, senderId }, ...args);
|
||||
savedProcess.activateUvLoop();
|
||||
}
|
||||
});
|
||||
// Use electron module after everything is ready.
|
||||
|
|
Loading…
Reference in a new issue