def exit(self, signal=None):
        self.logger.info("{} {}".format(signal, "*" * 80))
        # Kill the top level greenlet
        gevent.kill(gevent.hub.get_hub().parent)
Handle an exit request
dataset/ETHPy150Open simplecrypto/powerpool/powerpool/main.py/PowerPool.exit