mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-02-04 17:50:43 +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.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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user