[R53] ELECTRON-879 (Bump Electron version to 4.0.0-beta.7) (#528)

* ELECTRON-879 - Fix memory refresh and upgrade electron to 4.x.x

* ELECTRON-879 - Remove files from aip electron 3.x.x

* ELECTRON-879 - Add supporting (dll) files
This commit is contained in:
Kiran Niranjan
2018-11-28 21:38:19 +05:30
committed by Vishwas Shashidhar
parent 67690be031
commit 7ced97ce5a
7 changed files with 87 additions and 247 deletions

View File

@@ -504,11 +504,9 @@ function createAPI() {
local.ipcRenderer.on('memory-info-request', () => {
if (window.name === 'main') {
const memory = process.getProcessMemoryInfo();
const activeRequests = typeof local.activeRequests === 'function' ? local.activeRequests() : 0;
local.ipcRenderer.send(apiName, {
cmd: apiCmds.optimizeMemoryConsumption,
memory,
activeRequests,
});
}