aboutsummaryrefslogtreecommitdiff
path: root/Source/ExcelDNA
diff options
context:
space:
mode:
Diffstat (limited to 'Source/ExcelDNA')
-rw-r--r--Source/ExcelDNA/AddIn.cs3
1 files changed, 1 insertions, 2 deletions
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()