[Modify] Lock it
This commit is contained in:
parent
d15690bc40
commit
27a23446fb
@ -839,7 +839,12 @@ namespace WebSocketSharp.Net
|
||||
if (_disposed)
|
||||
return;
|
||||
|
||||
close (true);
|
||||
lock (_contextRegistrySync) {
|
||||
if (_disposed)
|
||||
return;
|
||||
|
||||
close (true);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user