mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-04-14 21:32:29 +03:00
Fixed Item.GetAsync() not disposed
This commit is contained in:
parent
d080548c20
commit
f568958a39
@ -230,7 +230,10 @@ namespace Steamworks.Ugc
|
|||||||
if ( !file.HasValue ) return null;
|
if ( !file.HasValue ) return null;
|
||||||
if ( file.Value.ResultCount == 0 ) 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 )
|
internal static Item From( SteamUGCDetails_t details )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user