Fix RealmLive not refetching if update thread context was closed at some point

This commit is contained in:
Dean Herbert 2022-01-21 02:10:14 +09:00
parent d76822b685
commit 56b06f34f0

View File

@ -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;