1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 01:10:20 +08:00
This commit is contained in:
Dan Balasescu
2022-06-21 19:57:27 +09:00
committed by GitHub
Unverified
parent f74b4ac277
commit 816fd338cb
+1 -1
View File
@@ -387,7 +387,7 @@ namespace osu.Game.Database
/// <param name="action">The work to run.</param>
public Task WriteAsync(Action<Realm> action)
{
// Regardless of calling Realm.GetInstance of Realm.GetInstanceAsync, there is a blocking overhead on retrieval.
// Regardless of calling Realm.GetInstance or Realm.GetInstanceAsync, there is a blocking overhead on retrieval.
// Adding a forced Task.Run resolves this.
return Task.Run(async () =>