1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-10 22:17:20 +08:00

Fix reference hashsets getting emptied before used

This commit is contained in:
Dean Herbert 2025-01-29 19:15:28 +09:00
parent 9db8e0b7ac
commit facc9a4dc3
No known key found for this signature in database

View File

@ -156,7 +156,7 @@ namespace osu.Game.Online
return;
}
notifications.Post(new FriendOnlineNotification(onlineAlertQueue));
notifications.Post(new FriendOnlineNotification(onlineAlertQueue.ToArray()));
onlineAlertQueue.Clear();
lastOnlineAlertTime = null;
@ -176,7 +176,7 @@ namespace osu.Game.Online
return;
}
notifications.Post(new FriendOfflineNotification(offlineAlertQueue));
notifications.Post(new FriendOfflineNotification(offlineAlertQueue.ToArray()));
offlineAlertQueue.Clear();
lastOfflineAlertTime = null;