mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
[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:
committed by
Vishwas Shashidhar
parent
67690be031
commit
7ced97ce5a
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user