void () { if (!myListenersArmed) { return; } myListenersArmed = false; ActionManagerEx actionManager = ActionManagerEx.getInstanceEx(); actionManager.removeTimerListener(myTimerListener); KeymapManagerEx.getInstanceEx().removeWeakListener(myKeymapManagerListener); }