Skip to content

crashed when calling client.end() from pubsub client #6

Open
@ghostoy

Description

@ghostoy

The cause was in that this.pubClient and this.subClient were undefined. See
https://github.com/strongloop/strong-pubsub-redis/blob/master/index.js#L73-L74.

Looks like these variables were not assigned in constructor or should they be changed to this.redisPubClient and this.redisSubClient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions