1
0
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:
Dean Herbert 2020-10-22 19:16:34 +09:00
parent 34e889e66e
commit d659b7739d

View File

@ -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);