diff --git a/Source/ExcelDNA/AddIn.cs b/Source/ExcelDNA/AddIn.cs index 0505e5b..b62412d 100644 --- a/Source/ExcelDNA/AddIn.cs +++ b/Source/ExcelDNA/AddIn.cs @@ -6,12 +6,11 @@ namespace Rehau.Sku.Assist { public class AddIn : IExcelAddIn { - public static HttpClient httpClient; + public static readonly HttpClient httpClient = new HttpClient(); public void AutoOpen() { RegisterFunctions(); - httpClient = new HttpClient(); } public void AutoClose()