

def stop(self, *args, **kwargs):
    self.logger.info('Agent server {} stopping'.format(self.listener))
    StreamServer.close(self)
    for serv in kwargs.server.agent_clients.values():
        serv.stop()
    Component.stop(self)
    self.logger.info('Exit')

dataset/ETHPy150Open simplecrypto/powerpool/powerpool/agent_server.py AgentServer.stop/VarMisuse@42/52 `self`->`kwargs`