mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 17:07:22 +01:00
adjustments to cachedplayer handling
This commit is contained in:
parent
73f009757c
commit
eed44f090d
12 changed files with 303 additions and 178 deletions
|
|
@ -48,7 +48,9 @@ public class MareMediator : IDisposable
|
|||
{
|
||||
foreach (var kvp in _subscriberDict.ToList())
|
||||
{
|
||||
kvp.Value.RemoveWhere(p => p.Subscriber == subscriber);
|
||||
var unSubbed = kvp.Value.RemoveWhere(p => p.Subscriber == subscriber);
|
||||
if (unSubbed > 0)
|
||||
Logger.Verbose(subscriber + " unsubscribed from " + kvp.Key.Name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue