diff --git a/reactos/base/shell/explorer/taskbar/startmenu.cpp b/reactos/base/shell/explorer/taskbar/startmenu.cpp index 956d913f196..7cbc2a2b6a4 100644 --- a/reactos/base/shell/explorer/taskbar/startmenu.cpp +++ b/reactos/base/shell/explorer/taskbar/startmenu.cpp @@ -1943,7 +1943,8 @@ int StartMenuHandler::Command(int id, int code) #ifndef __REACTOS__ case IDC_TERMINATE: - DestroyWindow(GetParent(_hwnd)); + DestroyWindow(g_Globals._hwndDesktopBar); + DestroyWindow(g_Globals._hwndDesktop); break; #endif