def _destroy(self, local, remote):
        if self._local_to_remote in local:
            self._loop.remove(local)
            self._loop.remove(remote)
            del self._local_to_remote[local]
            del self._remote_to_local[remote]
            if local in self._local_to_encryptor:
                del self._local_to_encryptor[local]
            local.close()
            remote.close()
        else:
            logging.error('already destroyed')
dataset/ETHPy150Open shadowsocks/ShadowDNS/shadowdns/dnsrelay.py/TCPDNSRelay._destroy/swapped operands of `in`