This commit is contained in:
Dan Balasescu
2022-06-21 19:57:27 +09:00
committed by GitHub
parent f74b4ac277
commit 816fd338cb

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 () =>