Remove the memory property from getAppMetrics
See 03d0bfd593
for more information
This commit is contained in:
parent
14df89f214
commit
dde194d853
5 changed files with 4 additions and 35 deletions
|
@ -49,9 +49,7 @@ app.getAppMetrics()
|
|||
|
||||
// Deprecated
|
||||
const metrics = app.getAppMetrics()
|
||||
const {memory} = metrics[0]
|
||||
memory.privateBytes // Deprecated property
|
||||
memory.sharedBytes // Deprecated property
|
||||
const {memory} = metrics[0] // Deprecated property
|
||||
```
|
||||
|
||||
## `BrowserWindow`
|
||||
|
|
|
@ -2,5 +2,4 @@
|
|||
|
||||
* `pid` Integer - Process id of the process.
|
||||
* `type` String - Process type (Browser or Tab or GPU etc).
|
||||
* `memory` [MemoryInfo](memory-info.md) - Memory information for the process.
|
||||
* `cpu` [CPUUsage](cpu-usage.md) - CPU usage of the process.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue