def OnClose(self, form): rs_debug("form close") self.smooth_kill() idaapi.unregister_action('hexrays_sync_toogle:action') idaapi.detach_action_from_toolbar("DebugToolBar", 'hexrays_sync_toogle:action') idaapi.unregister_action('g_sync_toogle:action') idaapi.detach_action_from_toolbar("DebugToolBar", 'g_sync_toogle:action') global SyncForm del SyncForm
def term(self): idaapi.detach_action_from_toolbar('DebugToolBar', SYNC_ACTION_NAME) self.handler.smooth_kill()
def term(self): idaapi.detach_action_from_toolbar(self.toolbar_name, SYNC_ACTION_NAME) self.handler.smooth_kill()
def unregisterAction(self): idaapi.detach_action_from_menu(self.menuPath, self.id) idaapi.detach_action_from_toolbar("SearchToolBar", self.id) idaapi.unregister_action(self.id)
def de_register_action(self): idaapi.detach_action_from_toolbar("SearchToolBar", self.id) idaapi.unregister_action(self.id)