spindle/engine: setup and destroy workflows
During setup, we register cleanup functions which get executed at theend of the workflow goroutine (deferred exec of DestroyWorkflow).Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
anirudh.fi 7 months ago 96c52925 1a84fc09