mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +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)
|
||||
streamingClient.WatchUser(user);
|
||||
break;
|
||||
|
||||
case NotifyCollectionChangedAction.Remove:
|
||||
foreach (int user in args.OldItems)
|
||||
streamingClient.StopWatchingUser(user);
|
||||
break;
|
||||
}
|
||||
}, true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user