[Modify] Polish it

This commit is contained in:
sta 2019-11-21 20:06:49 +09:00
parent 52811924d1
commit 6d85802bda

View File

@ -257,7 +257,10 @@ namespace WebSocketSharp.Net
/// </exception>
public WebHeaderCollection Headers {
get {
return _headers ?? (_headers = new WebHeaderCollection (HttpHeaderType.Response, false));
if (_headers == null)
_headers = new WebHeaderCollection (HttpHeaderType.Response, false);
return _headers;
}
set {