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

@@ -23,7 +23,7 @@ public partial class Changelog : ComponentBase
private async Task ReadLogAsync()
{
var response = await this.HttpClient.GetAsync($"changelog/{this.SelectedLog.Filename}");
using var response = await this.HttpClient.GetAsync($"changelog/{this.SelectedLog.Filename}");
this.LogContent = await response.Content.ReadAsStringAsync();
}
}