//-------------------------------------------------------------------------- void idaapi term(void) { if ( inited ) { remove_hexrays_callback(callback, NULL); term_hexrays_plugin(); } }
//------------------------------------------------------------------------- // Cleaning up Python void HexraysPython_Term(void) { term_hexrays_plugin(); // Shut the interpreter down Py_Finalize(); g_initialized = false; }