Improved the resource handling when loading models.

This commit is contained in:
tsommer committed 2025-01-29 07:27:36 +01:00
1 parent 54264345d9
commit abaa4fa7b7
10 files changed
+17 -16

No files matched your search

@@ -7,7 +7,7 @@ public static class ERIVersionExtensions
try
{
var url = version.SpecificationURL();
var response = await httpClient.GetAsync(url);
using var response = await httpClient.GetAsync(url);
return await response.Content.ReadAsStringAsync();
}
catch