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

kj::Rc<Membrane> #2029

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

kj::Rc<Membrane> #2029

wants to merge 1 commit into from

Conversation

mikea
Copy link
Collaborator

@mikea mikea commented Apr 16, 2024

No description provided.

mikea added a commit to capnproto/capnproto that referenced this pull request Apr 16, 2024
All real membrane implementations already are. Explicit refcounting
makes reasoning about lifetime much easier.

You could argue that this style makes memory leaks more possible,
but arguably this is the right tradeoff to make instead of lifetime
issue.

I'm seeking for initial feedback (yay/nay) before I spend too much
time cleaning this up.

Corresponding downstream pull requests are:

cloudflare/workerd#2029
and EW/7744
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant