[Modify] Replace it
This commit is contained in:
parent
196d5d7899
commit
f7b4e1a31c
@ -830,7 +830,8 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public HttpListenerContext GetContext ()
|
public HttpListenerContext GetContext ()
|
||||||
{
|
{
|
||||||
CheckDisposed ();
|
if (_disposed)
|
||||||
|
throw new ObjectDisposedException (_objectName);
|
||||||
|
|
||||||
if (_prefixes.Count == 0) {
|
if (_prefixes.Count == 0) {
|
||||||
var msg = "The listener has no URI prefix on which listens.";
|
var msg = "The listener has no URI prefix on which listens.";
|
||||||
|
Loading…
Reference in New Issue
Block a user