From c026c32dc7817eefbaf993a531ca714914bf3311 Mon Sep 17 00:00:00 2001 From: "gergely.erdelyi" Date: Sun, 15 Jun 2008 17:33:58 +0000 Subject: [PATCH] python.cpp: Remove menu items when unloading the plugin --- python.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/python.cpp b/python.cpp index a16fb3b..369bd6e 100644 --- a/python.cpp +++ b/python.cpp @@ -377,13 +377,10 @@ bool IDAPython_Init(void) void IDAPython_Term(void) { /* 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/Python file..."); del_menu_item("File/Python command..."); del_menu_item("View/Open subviews/Python Scripts"); -#endif /* Shut the interpreter down */ Py_Finalize();