[Modify] Lock it
This commit is contained in:
parent
0385be837d
commit
d15690bc40
@ -662,8 +662,13 @@ namespace WebSocketSharp.Net
|
||||
if (_disposed)
|
||||
return;
|
||||
|
||||
lock (_contextRegistrySync) {
|
||||
if (_disposed)
|
||||
return;
|
||||
|
||||
close (false);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ends an asynchronous operation to get an incoming request.
|
||||
|
Loading…
Reference in New Issue
Block a user