summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Events.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-05-10 08:28:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-05-10 08:28:12 +0000
commit2d5679d79f16628fdc2f4b9f420817b6c3c1c6b1 (patch)
tree3430c100a142e5e5de6b478737004dca58ec1ef6 /plugins/PluginUpdater/src/Events.cpp
parentc197e5206839d1fb1378d52d76df5681a80bd1eb (diff)
fix for sharing the same global variable between two modules
git-svn-id: http://svn.miranda-ng.org/main/trunk@9154 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Events.cpp')
-rw-r--r--plugins/PluginUpdater/src/Events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp
index 470390ad4f..cf1e72f868 100644
--- a/plugins/PluginUpdater/src/Events.cpp
+++ b/plugins/PluginUpdater/src/Events.cpp
@@ -90,7 +90,7 @@ int OnPreShutdown(WPARAM wParam, LPARAM lParam)
CancelWaitableTimer(Timer);
CloseHandle(Timer);
- if (hwndDialog != NULL)
- DestroyWindow(hwndDialog);
+ UninitCheck();
+ UninitListNew();
return 0;
}