Skip to content

Memory leak? #5

Closed
Closed
@alanshaw

Description

@alanshaw

If I call get for the same key, it'll call pubsub.subscribe and add another handler for the same key.

this._pubsub.subscribe(stringifiedTopic, this._handleSubscription, (err) => {

I think we only want one handler per key right?

Metadata

Metadata

Assignees

Labels

kind/bugA bug in existing code (including security flaws)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions