def _qt4_on_destroyed(self, control=None):
        self.control = None
Delete the reference to the control to avoid attempting to talk to
dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/action/action_item.py/_Tool._qt4_on_destroyed