From 10af5c7320a6d80149b6d7213d91d0cd5ab18608 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 8 Sep 2015 10:52:57 +0900 Subject: [PATCH] [Modify] Add null check --- websocket-sharp/Ext.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 055a7718..ce9a95a3 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -185,7 +185,8 @@ namespace WebSocketSharp return; } - completed (buffer); + if (completed != null) + completed (buffer); } catch (Exception ex) { if (error != null)