mirror of
https://github.com/ppy/osu.git
synced 2025-03-16 05:37:19 +08:00
Fix RealmLive
not refetching if update thread context was closed at some point
This commit is contained in:
parent
d76822b685
commit
56b06f34f0
@ -130,7 +130,7 @@ namespace osu.Game.Database
|
||||
{
|
||||
Debug.Assert(ThreadSafety.IsUpdateThread);
|
||||
|
||||
if (dataIsFromUpdateThread)
|
||||
if (dataIsFromUpdateThread && !data.Realm.IsClosed)
|
||||
return;
|
||||
|
||||
dataIsFromUpdateThread = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user