mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +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);
|
Debug.Assert(ThreadSafety.IsUpdateThread);
|
||||||
|
|
||||||
if (dataIsFromUpdateThread)
|
if (dataIsFromUpdateThread && !data.Realm.IsClosed)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
dataIsFromUpdateThread = true;
|
dataIsFromUpdateThread = true;
|
||||||
|
Reference in New Issue
Block a user