mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fix double call of DestroyMenu
This commit is contained in:
parent
5c91ab365d
commit
a4b36423b9
@ -1862,14 +1862,9 @@ void Rainmeter::ShowContextMenu(POINT pos, MeterWindow* meterWindow)
|
||||
hWnd,
|
||||
nullptr);
|
||||
|
||||
if (meterWindow)
|
||||
{
|
||||
DestroyMenu(menu);
|
||||
}
|
||||
DestroyMenu(menu);
|
||||
}
|
||||
|
||||
DestroyMenu(menu);
|
||||
|
||||
m_MenuActive = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user