aboutsummaryrefslogtreecommitdiff
path: root/Source/AddIn
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2021-12-23 15:31:23 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2021-12-23 15:31:23 +0300
commit0513ac5ad7c7de498b794c27728c2c8ff306f941 (patch)
tree2b55e7a387a8ab18371d008f6c23308caaa41d4f /Source/AddIn
parentce5597d042062c820288c63b4e571ee77ac23ab0 (diff)
Rename to ExportTool
Diffstat (limited to 'Source/AddIn')
-rw-r--r--Source/AddIn/AddIn.cs1
-rw-r--r--Source/AddIn/RegistryUtil.cs5
2 files changed, 6 insertions, 0 deletions
diff --git a/Source/AddIn/AddIn.cs b/Source/AddIn/AddIn.cs
index 08b6dcf..014b607 100644
--- a/Source/AddIn/AddIn.cs
+++ b/Source/AddIn/AddIn.cs
@@ -28,6 +28,7 @@ namespace RehauSku
public void AutoClose()
{
IntelliSenseServer.Uninstall();
+ RegistryUtil.Uninitialize();
}
void RegisterFunctions()
diff --git a/Source/AddIn/RegistryUtil.cs b/Source/AddIn/RegistryUtil.cs
index 19f48b8..ef1398e 100644
--- a/Source/AddIn/RegistryUtil.cs
+++ b/Source/AddIn/RegistryUtil.cs
@@ -16,6 +16,11 @@ namespace RehauSku
_storeResponseOrder = _RootKey.GetValue("StoreResponseOrder") as int?;
}
+ public static void Uninitialize()
+ {
+ _RootKey.Close();
+ }
+
public static bool IsPriceListPathEmpty()
{
return string.IsNullOrEmpty(_priceListPath);