terminateSubscriptions(command.getSession(), heapUri, INTERNAL_ERROR);
}
if (newHeapDefinition) {
// then add the sub initialisation to the update queue
finalHeapState.getQueuedChanges().add(new QueuedHeapChange(new QueuedSubscription(command.getSession(), new InitialUpdate(u))));
heapsWaitingForUpdate.add(heapUri);
}
}
});
} finally {