def delnodemap(self, sock, nodenum):
        self.nodemap_lock.acquire()
        count = None
        if nodenum not in self.nodemap:
            self.nodemap_lock.release()
            return count
        found = False
        for server in self.nodemap[nodenum]:
            (host, port, srvsock) = self.getserver(server)
            if srvsock == sock:
                found = True
                break
        if server in self.nodecounts:
            count = self.nodecounts[server]
        if found:
            self.nodemap[nodenum].remove(server)
            if server in self.nodecounts:
                count -= 1
                self.nodecounts[server] = count
        self.nodemap_lock.release()
        return count
Remove a node number to emulation server mapping.
dataset/ETHPy150Open coreemu/core/daemon/core/broker.py/CoreBroker.delnodemap