Skip to content

refactor: use gin::Wrappable for electron::api::DataPipeHolder - #49495

Merged
deepak1556 merged 5 commits into
mainfrom
refactor/use-gin-wrappable-for-data-pipe-holder
Jan 23, 2026
Merged

deepak1556 merged 5 commits into
mainfrom
refactor/use-gin-wrappable-for-data-pipe-holder

Conversation

@ckerr

@ckerr ckerr commented Jan 22, 2026 •

Copy link
Copy Markdown
Member

Description of Change

Part of #47922.

  • Migrate electron::api::DataPipeHolder from gin_helper::DeprecatedWrappable to gin::Wrappable.
  • Add test to confirm that getBlobData(uuid) rejects if the data pipe has been garbage collected.

Checklist

Release Notes

Notes: none.

@ckerr
ckerr requested a review from a team as a code owner January 22, 2026 20:13
@ckerr ckerr added semver/patch backwards-compatible bug fixes no-backport labels Jan 22, 2026
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jan 22, 2026
@ckerr
ckerr force-pushed the refactor/use-gin-wrappable-for-data-pipe-holder branch from 02bdd65 to 1e7cfbb Compare January 22, 2026 20:30
@ckerr ckerr mentioned this pull request Jan 22, 2026
2 tasks done
@ckerr
ckerr force-pushed the refactor/use-gin-wrappable-for-data-pipe-holder branch from aa79e8b to c649d52 Compare January 22, 2026 23:44

@deepak1556 deepak1556 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

KeyWeakMap is for old world, we should just replace with a base::flatMap<std::string, cppgc::WeakPersistent<DataPipeHolder>>

@ckerr

ckerr commented Jan 23, 2026 •

Copy link
Copy Markdown
Member Author

KeyWeakMap is for old world, we should just replace with a base::flatMap<std::string, cppgc::WeakPersistent<DataPipeHolder>>

86b6f2b

@ckerr
ckerr force-pushed the refactor/use-gin-wrappable-for-data-pipe-holder branch from 1631e26 to 86b6f2b Compare January 23, 2026 01:47
@ckerr
ckerr force-pushed the refactor/use-gin-wrappable-for-data-pipe-holder branch from 86b6f2b to 76fc358 Compare January 23, 2026 02:01
@deepak1556

Copy link
Copy Markdown
Member

Thanks!

@deepak1556
deepak1556 merged commit 8c5c6a6 into main Jan 23, 2026
@deepak1556
deepak1556 deleted the refactor/use-gin-wrappable-for-data-pipe-holder branch January 23, 2026 11:29
@release-clerk

release-clerk Bot commented Jan 23, 2026

Copy link
Copy Markdown

No Release Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-pr 🌱 PR opened recently no-backport semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants