[Modify] Polish it

This commit is contained in:
sta 2017-11-03 16:25:21 +09:00
parent e27221737e
commit 7bfe82aa2e

View File

@ -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;
}
}
}