[Modify] Replace it
This commit is contained in:
parent
acaab2076c
commit
fdcb83c494
@ -883,7 +883,8 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public void Stop ()
|
public void Stop ()
|
||||||
{
|
{
|
||||||
CheckDisposed ();
|
if (_disposed)
|
||||||
|
throw new ObjectDisposedException (_objectName);
|
||||||
|
|
||||||
lock (_contextRegistrySync) {
|
lock (_contextRegistrySync) {
|
||||||
if (!_listening)
|
if (!_listening)
|
||||||
|
Loading…
Reference in New Issue
Block a user