diff options
Diffstat (limited to 'plugins/PluginUpdater/src/Events.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Events.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp index 5ac9d19561..84ea06be08 100644 --- a/plugins/PluginUpdater/src/Events.cpp +++ b/plugins/PluginUpdater/src/Events.cpp @@ -63,5 +63,8 @@ INT OnPreShutdown(WPARAM wParam, LPARAM lParam) {
CancelWaitableTimer(Timer);
CloseHandle(Timer);
+
+ if (hwndDialog != NULL)
+ DestroyWindow(hwndDialog);
return 0;
}
|