[Modify] Add null check

master
sta 10 years ago
parent ceb831b18f
commit 10af5c7320

@ -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)

Loading…
Cancel
Save