[Modify] Lock it

This commit is contained in:
sta 2021-04-20 19:59:11 +09:00
parent 0385be837d
commit d15690bc40

View File

@ -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.