Add method to block all realm access during migration operation

This commit is contained in:
Dean Herbert
2021-01-22 17:28:47 +09:00
parent d480aa0e42
commit d69a4914e0
4 changed files with 73 additions and 28 deletions

View File

@ -15,7 +15,7 @@ namespace osu.Game.Database
/// <summary>
/// Get a fresh context for read usage.
/// </summary>
Realm GetForRead();
RealmContextFactory.RealmUsage GetForRead();
/// <summary>
/// Request a context for write usage.