mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 13:23:22 +08:00
Correctly stop watching users that leave
This commit is contained in:
parent
34e889e66e
commit
d659b7739d
@ -55,6 +55,11 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
foreach (int user in args.NewItems)
|
foreach (int user in args.NewItems)
|
||||||
streamingClient.WatchUser(user);
|
streamingClient.WatchUser(user);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case NotifyCollectionChangedAction.Remove:
|
||||||
|
foreach (int user in args.OldItems)
|
||||||
|
streamingClient.StopWatchingUser(user);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user