Skip to content

Use template interpolation to stringify keys #26

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

Merged
merged 1 commit into from
Nov 18, 2021
Merged

Use template interpolation to stringify keys #26

merged 1 commit into from
Nov 18, 2021

Conversation

argggh
Copy link
Contributor

@argggh argggh commented Nov 18, 2021

toString() always evaluates to "[object Undefined]", so the current approach ends up storing all connections under the same key, leaking the ones that are overwritten. This converts to using template interpolation instead.

`toString()` always evaluates to `"[object Undefined]"`, so the
current approach ends up storing all connections under the same key,
leaking the ones that are overwritten. This converts to using template
interpolation instead.
@tewarid tewarid merged commit c026e6a into tewarid:master Nov 18, 2021
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.

2 participants