mirror of
https://github.com/osukey/osukey.git
synced 2025-05-28 17:07:35 +09:00
Mention GetForWrite()
as another alternative to Context
accesses
This commit is contained in:
parent
b89521314f
commit
3291f15dcc
@ -48,7 +48,7 @@ namespace osu.Game.Database
|
||||
get
|
||||
{
|
||||
if (!ThreadSafety.IsUpdateThread)
|
||||
throw new InvalidOperationException($"Use {nameof(GetForRead)} when performing realm operations from a non-update thread");
|
||||
throw new InvalidOperationException($"Use {nameof(GetForRead)} or {nameof(GetForWrite)} when performing realm operations from a non-update thread");
|
||||
|
||||
lock (updateContextLock)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user