summaryrefslogtreecommitdiff
path: root/plugins/PackUpdater/Src/PackUpdater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PackUpdater/Src/PackUpdater.cpp')
-rw-r--r--plugins/PackUpdater/Src/PackUpdater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PackUpdater/Src/PackUpdater.cpp b/plugins/PackUpdater/Src/PackUpdater.cpp
index 24086278ab..ed5213062e 100644
--- a/plugins/PackUpdater/Src/PackUpdater.cpp
+++ b/plugins/PackUpdater/Src/PackUpdater.cpp
@@ -98,8 +98,8 @@ extern "C" __declspec(dllexport) int Load(void)
extern "C" __declspec(dllexport) int Unload(void)
{
- if (CheckThread)
- CheckThread = NULL;
+ if (hCheckThread)
+ hCheckThread = NULL;
NetlibUnInit();
DestroyServiceFunction(hCheckUpdates);
DestroyServiceFunction(hEmptyFolder);