mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Remove the memory property from getAppMetrics
See 03d0bfd593 for more information
This commit is contained in:
committed by
Aleksei Kuzmin
parent
14df89f214
commit
dde194d853
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user