Improved enterprise IT (#497)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-06-09 14:06:54 +02:00
1 parent 7a498d524e
commit 32e1ab977d
9 files changed
+200 -21

No files matched your search

@@ -42,6 +42,7 @@ public static partial class PluginFactory
var tempDownloadFile = Path.GetTempFileName();
try
{
await LockHotReloadAsync();
using var httpClient = new HttpClient();
var response = await httpClient.GetAsync(downloadUrl, cancellationToken);
if (response.IsSuccessStatusCode)
@@ -80,6 +81,8 @@ public static partial class PluginFactory
LOG.LogError(e, "Failed to delete the temporary download file.");
}
}
UnlockHotReload();
}
return true;