Ejemplo n.º 1
0
    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)
Ejemplo n.º 2
0
 def destroy(self):
     """
     Cleanly destroyes all components
     """
     BaseControlAgent.destroy(self)