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

Finalizers, proxy and two-way communication #626

Open
Nemikolh opened this issue Mar 2, 2023 · 0 comments
Open

Finalizers, proxy and two-way communication #626

Nemikolh opened this issue Mar 2, 2023 · 0 comments

Comments

@Nemikolh
Copy link

Nemikolh commented Mar 2, 2023

proxyCounter for an endpoint should at least be incremented by 1 when Comlink.expose is called on that endpoint. Otherwise things might break if a proxy is temporarily created to call a function despite a Comlink.expose being active.

Reproducible example: https://stackblitz.com/edit/node-afa7lv?file=index.html

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

No branches or pull requests

1 participant