Changes of Linux development v0.0.69
This commit is contained in:
parent
3dbfd2fda2
commit
8f349e0a2d
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