'Handle the subnet.delete.end notification event.'

@_wait_if_syncing
def subnet_delete_end(self, context, payload):

    subnet_id = payload['subnet_id']
    network = self.cache.get_network_by_subnet_id(subnet_id)
    if (not network):
        return
    with _net_lock(network.id):
        network = self.cache.get_network_by_subnet_id(subnet_id)
        if (not network):
            return
        self.refresh_dhcp_helper(network.id)
