@@ -65,7 +65,9 @@ namespace Model
return;
}
- this.tcs.SetResult(true);
+ var t = this.tcs;
+ this.tcs = null;
+ t?.SetResult(true);
public Task<bool> LoadFromCacheOrDownload(string url, Hash128 hash)
@@ -113,6 +115,7 @@ namespace Model
www?.Dispose();
this.www = null;
@@ -3,7 +3,7 @@ using Model;
namespace Hotfix
{
- public abstract class Disposer : Object, IDisposable
+ public abstract class Disposer : Object, IDisposable2
public long Id { get; set; }