[Modify] Lock it

This commit is contained in:
sta 2021-04-20 19:57:04 +09:00
parent bcca8fe1b7
commit 0385be837d

View File

@ -588,7 +588,12 @@ namespace WebSocketSharp.Net
if (_disposed)
return;
close (true);
lock (_contextRegistrySync) {
if (_disposed)
return;
close (true);
}
}
/// <summary>