@martinklepsch: wrapping the handler created by liberator is fine. Since 0.13 there’s :initialize-context
where you could assoc anything into the context before the decision graph kicks off, however, there’s no "cleanup-hook“ in liberator.
@martinklepsch: actually having a „cleanup“ or „finally“ callback may be a good idea. You can file a github issue for that if you like, however, I will not have the time to implement it myself, anytime soon.
@ordnungswidrig: thanks, I'm using initialize context but as you said the lack of a way to cleanup is a problem. I'll try wrapping the returned handler and open an issue/pr for the finally step if that isn't doing what I need