[Modify] Replace them
This commit is contained in:
parent
f7b4e1a31c
commit
acaab2076c
@ -859,10 +859,12 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public void Start ()
|
public void Start ()
|
||||||
{
|
{
|
||||||
CheckDisposed ();
|
if (_disposed)
|
||||||
|
throw new ObjectDisposedException (_objectName);
|
||||||
|
|
||||||
lock (_contextRegistrySync) {
|
lock (_contextRegistrySync) {
|
||||||
CheckDisposed ();
|
if (_disposed)
|
||||||
|
throw new ObjectDisposedException (_objectName);
|
||||||
|
|
||||||
if (_listening)
|
if (_listening)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user