[Modify] Polish it
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user