From f55f17de4e2f513141153509bb5045ca573aaf3e Mon Sep 17 00:00:00 2001 From: sta Date: Fri, 30 Apr 2021 20:36:28 +0900 Subject: [PATCH] [Modify] Replace it --- websocket-sharp/Net/HttpListener.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/websocket-sharp/Net/HttpListener.cs b/websocket-sharp/Net/HttpListener.cs index 78d14f08..962baf8b 100644 --- a/websocket-sharp/Net/HttpListener.cs +++ b/websocket-sharp/Net/HttpListener.cs @@ -243,7 +243,9 @@ namespace WebSocketSharp.Net /// public string CertificateFolderPath { get { - CheckDisposed (); + if (_disposed) + throw new ObjectDisposedException (_objectName); + return _certFolderPath; }