1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 22:47:26 +08:00
osu-lazer/osu.Game
Dean Herbert 2423bbb776
Ensure realm subscriptions always fire initial callback with null ChangeSet
We expect this to be the case, but it turns out that it [may be
coalesced](https://www.mongodb.com/docs/realm-sdks/dotnet/latest/reference/Realms.IRealmCollection-1.html#Realms_IRealmCollection_1_SubscribeForNotifications_Realms_NotificationCallbackDelegate__0__Realms_KeyPathsCollection_):

> Notifications are delivered via the standard event loop, and so can't
> be delivered while the event loop is blocked by other activity. When
> notifications can't be delivered instantly, multiple notifications may
> be coalesced into a single notification. This can include the
> notification with the initial collection.

Rather than struggle with handling this locally every time, let's fix
the callback at our end to ensure we receive the initial null case.

I've raised concern for the API being a bit silly with realm
(https://github.com/realm/realm-dotnet/issues/3641).
2024-07-09 15:47:43 +09:00
..
Audio Adjust AudioFilter to framework-side changes 2024-06-18 07:30:46 +02:00
Beatmaps Pass comparer in all usages for consistency 2024-07-08 15:58:21 +02:00
Collections Merge pull request #28762 from frenzibyte/change-chevron-display 2024-07-08 20:05:59 +09:00
Configuration Move timeline toggle controls to "view" menu 2024-06-17 10:16:40 +02:00
Database Ensure realm subscriptions always fire initial callback with null ChangeSet 2024-07-09 15:47:43 +09:00
Extensions Fix date failing to display on leaderboard for some scores with weird datetimes 2024-01-14 13:52:39 +01:00
Graphics Do not be lenient on nullability of dropdown 2024-07-08 08:54:05 +03:00
Input Implement quick exit hotkeys for editor test play 2024-07-02 14:34:36 +02:00
IO Update naming of enum fields in ObjType 2024-05-01 17:24:53 +03:00
IPC Handle osu:// scheme links via IPC in desktop game 2022-06-20 21:26:22 +02:00
Localisation Merge pull request #28553 from frenzibyte/mod-select-customisation-panel 2024-07-08 11:26:21 +02:00
Models Use native query to avoid huge overheads when cleaning up realm files 2024-01-09 15:37:29 +09:00
Online Merge pull request #28659 from bdach/daily-challenge/integration 2024-07-04 23:55:46 +09:00
Overlays Merge pull request #28762 from frenzibyte/change-chevron-display 2024-07-08 20:05:59 +09:00
Performance Expose high performance session state 2024-04-16 10:04:38 +08:00
Properties Make medal overlay respect overlay disable via activation mode 2024-02-20 16:31:31 +01:00
Replays Update HasFlag usages 2024-07-03 00:19:04 +09:00
Rulesets Enforce IBeatmap.Breaks to be sorted chronologically 2024-07-08 16:06:38 +03:00
Scoring Merge branch 'master' into negative-frame-handling 2024-05-29 13:14:59 +09:00
Screens Merge pull request #28769 from peppy/carousel-realm-simplification 2024-07-09 01:40:10 +09:00
Skinning Expand explanation in inline comment 2024-07-05 10:09:06 +09:00
Storyboards Update HasFlag usages 2024-07-03 00:19:04 +09:00
Tests Add client/server models for allowing clients to receive realtime playlist updates 2024-06-27 11:32:18 +02:00
Updater Warn about not using an official "deployed" build 2024-03-21 00:47:45 +09:00
Users Fix nullability inspection 2024-05-10 23:26:43 +08:00
Utils Fix code quality and null handling 2024-06-07 00:01:50 +08:00
.editorconfig Add localisation length hinting 2022-04-28 19:26:28 +09:00
FodyWeavers.xml More realm analytic disables 2023-07-20 17:51:33 +09:00
osu!.res And then everything became one 2017-09-19 16:06:58 +09:00
osu.Game.csproj Update resources 2024-07-05 13:15:15 +09:00
OsuGame.cs Merge branch 'master' into navigate-to-timestamp 2024-07-03 20:42:32 +09:00
OsuGameBase_Importing.cs Automated pass 2023-06-24 01:00:03 +09:00
OsuGameBase.cs Revert "Temporary rollback of framework / SDL3" 2024-05-22 16:29:39 +08:00
PerformFromMenuRunner.cs Partial everything 2022-11-27 00:00:27 +09:00