diff --git a/websocket-sharp/Net/HttpConnection.cs b/websocket-sharp/Net/HttpConnection.cs index 599882c9..fdf9e4de 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -180,7 +180,7 @@ namespace WebSocketSharp.Net closeSocket (); } - unbind (); + unregisterContext (); removeConnection (); } @@ -437,7 +437,7 @@ namespace WebSocketSharp.Net // Don't close. Keep working. _reuses++; disposeRequestBuffer (); - unbind (); + unregisterContext (); init (); BeginReadRequest ();