Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix electron blocker performance regression #3441

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

remusao
Copy link
Collaborator

@remusao remusao commented Sep 17, 2023

Fixes #3420

In #3162 we split the call to get scriptlets and styles to inject into two different listeners. The one that is called on updates needs to explicitly disable the base styles otherwise we keep re-injecting a massive stylesheet on any DOM update.

Copy link
Contributor

@Jelmerro Jelmerro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to have fixed it, as explained in this issue, so good to go from my point of view.

@remusao remusao merged commit 50688cf into master Sep 17, 2023
3 checks passed
@remusao remusao deleted the fix-electron-performance-regression branch September 17, 2023 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Bug Fix 🐛 Increment patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[adblocker-electron] Application is extremely lagged (memory leak)
2 participants