[Modify] Add null check

This commit is contained in:
sta 2015-09-08 10:52:57 +09:00
parent ceb831b18f
commit 10af5c7320

View File

@ -185,7 +185,8 @@ namespace WebSocketSharp
return; return;
} }
completed (buffer); if (completed != null)
completed (buffer);
} }
catch (Exception ex) { catch (Exception ex) {
if (error != null) if (error != null)