mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Remove the 'getProcessMemoryInfo' API
* Underlying APIs have been removed in Chromium * https://chromium-review.googlesource.com/c/chromium/src/+/969089 * https://chromium-review.googlesource.com/c/chromium/src/+/953723 * https://bugs.chromium.org/p/chromium/issues/detail?id=819289 * https://github.com/electron/electron/projects/11#card-11509601
This commit is contained in:
committed by
Aleksei Kuzmin
parent
833b55107d
commit
14df89f214
@@ -135,8 +135,6 @@ nativeImage.createFromBuffer(buffer, {
|
||||
```js
|
||||
// Deprecated
|
||||
const info = process.getProcessMemoryInfo()
|
||||
const privateBytes = info.privateBytes // deprecated property
|
||||
const sharedBytes = info.sharedBytes // deprecated property
|
||||
```
|
||||
|
||||
## `screen`
|
||||
|
||||
Reference in New Issue
Block a user