mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 17:57:21 +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
|
||||
{
|
||||
if (CachedPlayer != null) return;
|
||||
|
||||
_creationSemaphore.Wait();
|
||||
|
||||
if (CachedPlayer != null) return;
|
||||
|
||||
if (dto == null && _onlineUserIdentDto == null)
|
||||
{
|
||||
CachedPlayer?.Dispose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue