From 0cddc670010a3b918a45f262c974f936ec5b5462 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 25 Aug 2015 10:04:11 +0900 Subject: [PATCH] Initialize the continuation flag when closing --- websocket-sharp/WebSocket.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index 3e38ff02..7b6a54dd 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -794,6 +794,7 @@ namespace WebSocketSharp if (_fragmentsBuffer != null) { _fragmentsBuffer.Dispose (); _fragmentsBuffer = null; + _inContinuation = false; } if (_receivePong != null) {