mirror of
https://github.com/ppy/osu
synced 2025-01-28 08:43:05 +00: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
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user