brian-girko / always-active

Pretend a webpage is in its active state even if not
https://webextension.org/listing/always-active.html
Mozilla Public License 2.0
79 stars 12 forks source link

High CPU usage #15

Closed AndnixSH closed 2 years ago

AndnixSH commented 2 years ago

This extension is using high CPU usage around 20-30%. As soon as I switched off this extension, the usage went back down

I was trying to debug even though I don't have knowledge in extension, and I caught this error

image

Maybe this is the fault?

I used v3 - v0.2.2

brian-girko commented 2 years ago

Since I cannot reproduce this, please wait for the 0.2.3 release and report back if you still see the high CPU usage.

AndnixSH commented 2 years ago

Ok, i'll wait.

I found a way to reproduce the bug. Have your extension installed with your tabs open and close one of them, it will trigger the bug without any exceptions. If nothing happens, remove and install the extension and close one of your tabs

image

AndnixSH commented 2 years ago

I saw you have commited 0.2.3. I have installed it as unpacked, and it seems to have solved the bug.

brian-girko commented 2 years ago

Perfect! v0.2.3 is also released on WebStore. Please reopen if you observed the behavior.