diff --git a/Library/Rainmeter.cpp b/Library/Rainmeter.cpp index 04ce7fe8..8fb4ab7e 100644 --- a/Library/Rainmeter.cpp +++ b/Library/Rainmeter.cpp @@ -1862,14 +1862,9 @@ void Rainmeter::ShowContextMenu(POINT pos, MeterWindow* meterWindow) hWnd, nullptr); - if (meterWindow) - { - DestroyMenu(menu); - } + DestroyMenu(menu); } - DestroyMenu(menu); - m_MenuActive = false; } }