Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

circular reference in Listener #63

Open
jchris opened this issue Mar 15, 2023 · 0 comments
Open

circular reference in Listener #63

jchris opened this issue Mar 15, 2023 · 0 comments

Comments

@jchris
Copy link
Collaborator

jchris commented Mar 15, 2023

// todo code review if there is a better way that doesn't create a circular reference
// because otherwise we need to document that the user must call stopListening
// or else the listener will never be garbage collected
// maybe we can use WeakRef on the db side
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant