mirror of
https://github.com/cemu-project/idapython.git
synced 2025-01-14 10:59:13 +01:00
python.cpp: Remove menu items when unloading the plugin
This commit is contained in:
parent
e2f6ba10dc
commit
c026c32dc7
@ -377,13 +377,10 @@ bool IDAPython_Init(void)
|
|||||||
void IDAPython_Term(void)
|
void IDAPython_Term(void)
|
||||||
{
|
{
|
||||||
/* Remove the menu items before termination */
|
/* Remove the menu items before termination */
|
||||||
#if 0
|
|
||||||
// FIXME: This segfaults the Linux version. The non-existent items might cause this?
|
|
||||||
del_menu_item("File/Load file/Python file...");
|
del_menu_item("File/Load file/Python file...");
|
||||||
del_menu_item("File/Python file...");
|
del_menu_item("File/Python file...");
|
||||||
del_menu_item("File/Python command...");
|
del_menu_item("File/Python command...");
|
||||||
del_menu_item("View/Open subviews/Python Scripts");
|
del_menu_item("View/Open subviews/Python Scripts");
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Shut the interpreter down */
|
/* Shut the interpreter down */
|
||||||
Py_Finalize();
|
Py_Finalize();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user