def unregister_processor(self, host, pid, url):
        "processor shutting down, so remove it from the list"
        try:
            self.coordinators[url] -= (host, pid)
            self.systemLoad[host] -= 1.0 # THIS PROBABLY DECREASES LOAD BY 1
            if self.systemLoad[host] < 0.0:
                self.systemLoad[host] = 0.0
            for k, v in self.locks.items(): # MAKE SURE THIS PROC HAS NO LOCKS
                h = k.split(':')[0]
                if h == host and v == pid:
                    del self.locks[k] # REMOVE ALL ITS PENDING LOCKS
        except __HOLE__:
            pass
        self.load_balance() # FREEING A PROCESSOR, SO REBALANCE TO USE THIS
        return True  # USE THIS AS DEFAULT XMLRPC RETURN VALUE
dataset/ETHPy150Open cjlee112/pygr/pygr/coordinator.py/ResourceController.unregister_processor