mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
rework for ui shit
This commit is contained in:
parent
d817eda5e2
commit
f6a471f457
19 changed files with 821 additions and 681 deletions
|
|
@ -326,13 +326,14 @@ public sealed class PairManager : DisposableMediatorSubscriberBase
|
|||
private void DisposePairs(bool recreate = false)
|
||||
{
|
||||
Logger.LogDebug("Disposing all Pairs");
|
||||
foreach (var item in _allClientPairs)
|
||||
Parallel.ForEach(_allClientPairs, item =>
|
||||
{
|
||||
if (recreate)
|
||||
item.Value.RecreateCachedPlayer();
|
||||
else
|
||||
item.Value.MarkOffline();
|
||||
}
|
||||
});
|
||||
|
||||
RecreateLazy();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue