mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
remove app.getAppMemoryInfo (#11985)
* remove app.getMemoryInfo * semicolons are important
This commit is contained in:
committed by
Charles Kerr
parent
dcaff20cfd
commit
c2575c4944
@@ -844,11 +844,6 @@ disables that behaviour.
|
||||
|
||||
This method can only be called before app is ready.
|
||||
|
||||
### `app.getAppMemoryInfo()` _Deprecated_
|
||||
|
||||
Returns [`ProcessMetric[]`](structures/process-metric.md): Array of `ProcessMetric` objects that correspond to memory and cpu usage statistics of all the processes associated with the app.
|
||||
**Note:** This method is deprecated, use `app.getAppMetrics()` instead.
|
||||
|
||||
### `app.getAppMetrics()`
|
||||
|
||||
Returns [`ProcessMetric[]`](structures/process-metric.md): Array of `ProcessMetric` objects that correspond to memory and cpu usage statistics of all the processes associated with the app.
|
||||
|
||||
Reference in New Issue
Block a user