

def app_destroy_handler(self, payload):
    ' Peer request destruction of app and its actors '
    reply = payload.node.app_manager.destroy_request(payload['app_uuid'], (payload['actor_uuids'] if ('actor_uuids' in payload) else []))
    msg = {
        'cmd': 'REPLY',
        'msg_uuid': payload['msg_uuid'],
        'value': reply.encode(),
    }
    self.network.links[payload['from_rt_uuid']].send(msg)

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvin_proto.py CalvinProto.app_destroy_handler/VarMisuse@16/39 `self`->`payload`