ripple-unmaintained / ripple-lib-java

Java version of ripple-lib (work in progress)
ISC License
126 stars 109 forks source link

Cannot close websocket #75

Open veckman opened 8 years ago

veckman commented 8 years ago

Hi there

I'm using the latest version of your java lib for ripple (branch master or devel-next) from GitHub.

I try to disconnect the websocket using different method. The TCP socket at the OS level stay connected no matter what.

I have tried:

wsc.disconnect(); (disconnect at the web socket object level) rippleClient.disconnect(); (disconnect at the ripple client level)

I did not find any code example of a proper disconnection.

What should I do? I'm doing it wrong? Is there a bug?

Thanks in advance