1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00
This commit is contained in:
Dan Balasescu 2022-06-21 19:57:27 +09:00 committed by GitHub
parent f74b4ac277
commit 816fd338cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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