Fixed Item.GetAsync() not disposed

This commit is contained in:
kamyker 2020-05-20 17:31:44 +02:00
parent d080548c20
commit f568958a39

View File

@ -230,7 +230,10 @@ public float DownloadAmount
if ( !file.HasValue ) return null;
if ( file.Value.ResultCount == 0 ) return null;
return file.Value.Entries.First();
var item = file.Value.Entries.First();
file.Value.Dispose();
return item;
}
}
internal static Item From( SteamUGCDetails_t details )