def dropSlave(self):
        """
        Drop a slave after crash

        Arguments: None
        Returns:   None
        """
        if self.noseSlave is not None:
            try:
                self.sendToSlave(None) # Tell the slave we are finished with it.
            except (EOFError, __HOLE__, socket.error), e:
                pass
            self.noseSlave = None
            self.toSlave.close()
            self.fromSlave.close()
            self.toSlave = self.fromSlave = None
        self.hasCrashed = True
dataset/ETHPy150Open ooici/pyon/pyon/util/insulate.py/TestSlave.dropSlave