def connectionLost(self, reason):
        abstract.FileDescriptor.connectionLost(self, reason)
        self._serial.close()
        self.protocol.connectionLost(reason)
Called when the serial port disconnects.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/_posixserialport.py/SerialPort.connectionLost