[Modify] Lock it
This commit is contained in:
parent
bcca8fe1b7
commit
0385be837d
@ -588,7 +588,12 @@ namespace WebSocketSharp.Net
|
||||
if (_disposed)
|
||||
return;
|
||||
|
||||
close (true);
|
||||
lock (_contextRegistrySync) {
|
||||
if (_disposed)
|
||||
return;
|
||||
|
||||
close (true);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user