[Modify] Polish it
This commit is contained in:
parent
e27221737e
commit
7bfe82aa2e
@ -390,9 +390,10 @@ namespace WebSocketSharp
|
||||
/// </value>
|
||||
public IEnumerable<Cookie> Cookies {
|
||||
get {
|
||||
lock (_cookies.SyncRoot)
|
||||
lock (_cookies.SyncRoot) {
|
||||
foreach (Cookie cookie in _cookies)
|
||||
yield return cookie;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user