[Modify] Lock it

This commit is contained in:
sta 2021-04-20 20:00:34 +09:00
parent d15690bc40
commit 27a23446fb

View File

@ -839,7 +839,12 @@ namespace WebSocketSharp.Net
if (_disposed)
return;
close (true);
lock (_contextRegistrySync) {
if (_disposed)
return;
close (true);
}
}
#endregion