mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
change semaphore-create order
This commit is contained in:
parent
bbfd6eb3d3
commit
d426e0b428
1 changed files with 2 additions and 2 deletions
|
|
@ -92,10 +92,10 @@ public class Pair
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (CachedPlayer != null) return;
|
|
||||||
|
|
||||||
_creationSemaphore.Wait();
|
_creationSemaphore.Wait();
|
||||||
|
|
||||||
|
if (CachedPlayer != null) return;
|
||||||
|
|
||||||
if (dto == null && _onlineUserIdentDto == null)
|
if (dto == null && _onlineUserIdentDto == null)
|
||||||
{
|
{
|
||||||
CachedPlayer?.Dispose();
|
CachedPlayer?.Dispose();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue