mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Fix RealmLive
not refetching if update thread context was closed at some point
This commit is contained in:
@ -130,7 +130,7 @@ namespace osu.Game.Database
|
||||
{
|
||||
Debug.Assert(ThreadSafety.IsUpdateThread);
|
||||
|
||||
if (dataIsFromUpdateThread)
|
||||
if (dataIsFromUpdateThread && !data.Realm.IsClosed)
|
||||
return;
|
||||
|
||||
dataIsFromUpdateThread = true;
|
||||
|
Reference in New Issue
Block a user