Skip to content

CloseHSM --> hsConnection.disconnect() #14

Description

@rajesh-wankhede

The closeHSM() method under FyersSocket. calls hsConnection.disconnect();

Question:
Why called hsConnection.disconnect(); why not the hsConnection.release(); under FyersSocket closeHSM(); method.

Issue;
connectHSM() throws exception if i closed HSM connection before by calling closeHSM().
in connectHSM or ReconnectHSM the HSConnection.getInstance(); throws Max-Connection limit 1 reached.

Solution.
under CLoseHSM the hsConnection.release(); should use to avoid exception.

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