[Modify] Replace them
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user