bitrich-info/xchange-stream

Gemini WebSocket disconnect doesn't shutdown nioEventLoopGroup threads

KeshavSirohi opened this issue · 3 comments

Gemini disconnect doesn't shutdown nioEventLoopGroup threads. When re-connection(disconnect and then connect) is done, two new nioEventLoopGroup threads gets created. This count keeps on increasing because older threads never shutdown.

Could you try the code on pull request #282?

That tries to be more thorough at shutting down the event loop group in all cases.

Issue remains with PR 282. I think the issue is in Gemini classes.

I did a full tidy-up of this are in #340. Looks like it should help.