Fleck icon indicating copy to clipboard operation
Fleck copied to clipboard

OnClose not be called when client process is killed.

Open issingle opened this issue 6 years ago • 1 comments

SetKeepAlive use default value,60000,10000 when click "X"button in client console app,Fleck Server OnClose will not be called,then socket handle will leak. WebSocketConnection.cs Close Method: public void Close(int code) { if (!IsAvailable) return; .... when IsAvailable == false and _closing==false,_closed==false,why not call "CloseSocket"?

issingle avatar Sep 26 '18 05:09 issingle

it raises OnError... (where i can't have information about socket and info, just exception) ;(

ggiacomoo avatar Apr 30 '19 07:04 ggiacomoo