mirror of
https://github.com/osukey/osukey.git
synced 2025-07-10 04:40:02 +09:00
Fix RealmLive
not working is data is attached to realm post-ToLive
call
This commit is contained in:
@ -17,7 +17,7 @@ namespace osu.Game.Database
|
|||||||
{
|
{
|
||||||
public Guid ID { get; }
|
public Guid ID { get; }
|
||||||
|
|
||||||
public bool IsManaged { get; }
|
public bool IsManaged => data.IsManaged;
|
||||||
|
|
||||||
private readonly SynchronizationContext? fetchedContext;
|
private readonly SynchronizationContext? fetchedContext;
|
||||||
private readonly int fetchedThreadId;
|
private readonly int fetchedThreadId;
|
||||||
@ -37,8 +37,6 @@ namespace osu.Game.Database
|
|||||||
|
|
||||||
if (data.IsManaged)
|
if (data.IsManaged)
|
||||||
{
|
{
|
||||||
IsManaged = true;
|
|
||||||
|
|
||||||
fetchedContext = SynchronizationContext.Current;
|
fetchedContext = SynchronizationContext.Current;
|
||||||
fetchedThreadId = Thread.CurrentThread.ManagedThreadId;
|
fetchedThreadId = Thread.CurrentThread.ManagedThreadId;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user