[Modify] Polish it
This commit is contained in:
parent
1df9e927a1
commit
26c764b0d2
@ -612,7 +612,7 @@ namespace WebSocketSharp.Net
|
||||
|
||||
private IEnumerable<Cookie> findCookie (Cookie cookie)
|
||||
{
|
||||
if (_cookies == null)
|
||||
if (_cookies == null || _cookies.Count == 0)
|
||||
yield break;
|
||||
|
||||
foreach (var c in _cookies) {
|
||||
|
Loading…
Reference in New Issue
Block a user