Changes of Linux canary v0.0.94

This commit is contained in:
root 2019-08-28 18:57:04 +02:00
parent efee213eee
commit 3dbfd2fda2

View file

@ -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.