summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Events.cpp
diff options
context:
space:
mode:
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;
}