/electron-quick-start

Clone to try a simple Electron app

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

TestGPUProcess

  • Electron version: 5.0.0
  • Operating system: Mac 10.13.6

Expected behavior

When I close the browserWindow which used webGL context. In Activity Monitor Electron Helper(GPU) will not requires high perf GPU.

Actual behavior

When I close the browserWindow which used webGL context. In Activity Monitor Electron Helper(GPU) still requires high perf GPU.

How to reproduce

git clone git@github.com:boluobanana/electron-quick-start.git
npm i
npm run start

// click the btn openThreeJsDoc
// when the new page onload and In Activity Monitor Electron Helper(GPU) has requires high perf GPU. Close this page
// The helper still required high perf GPU

And I do the same things at Chrome 79.0.3945.88. When the website be closed. After 5s later, the Chrome Helper(GPU) not requires high perf GPU any more.

Is there some way can close the GPU process manually or stop require high perf GPU?