Skip to content

refactor: SafeStorage never emits, so do not inherit from EventEmitter - #51057

Merged
ckerr merged 1 commit into
mainfrom
refactor/skip-unnecessary-inheritance-SafeStorage
Apr 16, 2026
Merged

ckerr merged 1 commit into
mainfrom
refactor/skip-unnecessary-inheritance-SafeStorage

Conversation

@ckerr

@ckerr ckerr commented Apr 14, 2026 •

Copy link
Copy Markdown
Member

Description of Change

Does what it says on the tin. api::SafeStorage never emits, so it doesn't need to inherit from gin_helper::EventEmitter.

That inheritance was introduced when the class first landed in bc508c6, but it has never emitted anything. It may have been added due to copy-paste.

Checklist

Release Notes

Notes: none.

@ckerr ckerr added semver/none target/24-x-y PR should also be added to the "24-x-y" branch. labels Apr 14, 2026
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Apr 14, 2026
@absidue

absidue commented Apr 15, 2026

Copy link
Copy Markdown

I suspect you typoed the backport label and meant to pick 42 instead of 24.

@deepak1556 deepak1556 added target/42-x-y PR should also be added to the "42-x-y" branch. and removed target/24-x-y PR should also be added to the "24-x-y" branch. labels Apr 15, 2026
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Apr 15, 2026
@ckerr
ckerr merged commit 9569c48 into main Apr 16, 2026
130 of 131 checks passed
@ckerr
ckerr deleted the refactor/skip-unnecessary-inheritance-SafeStorage branch April 16, 2026 04:24
@release-clerk

release-clerk Bot commented Apr 16, 2026

Copy link
Copy Markdown

No Release Notes

@trop

trop Bot commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "42-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot added needs-manual-bp/42-x-y and removed target/42-x-y PR should also be added to the "42-x-y" branch. labels Apr 16, 2026
@trop

trop Bot commented May 14, 2026

Copy link
Copy Markdown
Contributor

@ckerr has manually backported this PR to "42-x-y", please check out #51629

@trop trop Bot added merged/42-x-y PR was merged to the "42-x-y" branch. and removed in-flight/42-x-y labels May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/42-x-y PR was merged to the "42-x-y" branch. semver/none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants