Fix double call of DestroyMenu

This commit is contained in:
Birunthan Mohanathas 2013-06-16 19:52:25 +03:00
parent 5c91ab365d
commit a4b36423b9

View File

@ -1862,13 +1862,8 @@ void Rainmeter::ShowContextMenu(POINT pos, MeterWindow* meterWindow)
hWnd,
nullptr);
if (meterWindow)
{
DestroyMenu(menu);
}
}
DestroyMenu(menu);
m_MenuActive = false;
}