mirror of
https://github.com/osukey/osukey.git
synced 2025-05-31 02:17:34 +09:00
Update outdated exception message
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
parent
8f1dfa33a2
commit
b23f4674b1
@ -72,7 +72,7 @@ namespace osu.Game.Database
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (!ThreadSafety.IsUpdateThread)
|
if (!ThreadSafety.IsUpdateThread)
|
||||||
throw new InvalidOperationException(@$"Use {nameof(createContext)} when performing realm operations from a non-update thread");
|
throw new InvalidOperationException(@$"Use {nameof(Run)}/{nameof(Write)} when performing realm operations from a non-update thread");
|
||||||
|
|
||||||
lock (contextLock)
|
lock (contextLock)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user