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)