Skip to content

process is hanging after calling client.close #148

@Rinse12

Description

@Rinse12

Thank you for open sourcing this library. We're having this issue where the process is not exiting after stopping the client. We're on 7.6.0. This code should replicate the problem:

const WebSocket = require("rpc-websockets").Client;
const client = new WebSocket("ws://localhost:39652");
client.close();
console.log("Program should exit after this");

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