[Modify] Replace it

This commit is contained in:
sta 2021-05-04 22:35:59 +09:00
parent 41b5ee00a8
commit d6eeed4a0c

View File

@ -410,7 +410,9 @@ namespace WebSocketSharp.Net
/// </exception>
public ServerSslConfiguration SslConfiguration {
get {
CheckDisposed ();
if (_disposed)
throw new ObjectDisposedException (_objectName);
return _sslConfig ?? (_sslConfig = new ServerSslConfiguration ());
}