GoogleChromeLabs / GoogleChromeLabs/comlink
Finalizers, proxy and two-way communication
Open
- Dominant language
- TypeScript
- Stars
- 12.8k
- Forks
- 435
- PR merge metrics
- No merged PRs in 30d
Description
`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
Contributor guide
Assessment
This issue has not been assessed yet.