def destroy(self): """ Cleanly destroyes all components """ pa = self.get_presentation_agent() pa.get_event_bus().unsubscribe( UIActionEvent, self.action_evt_callback) # Destroyes slave components for slave in self._slaves: slave.destroy() BaseControlAgent.destroy(self)
def destroy(self): """ Cleanly destroyes all components """ BaseControlAgent.destroy(self)