A button to cancel workflow along with terminate
longquanzheng opened this issue · 1 comments
longquanzheng commented
petergardfjall commented
Any plans to address this? Seems like a logical (?) and simple feature to implement.
Termination provides no means for the code to properly clean up. As an example, I discovered that goroutines would leak for terminated workflows awaiting child workflows with ChildWorkflowFuture.Get()
so Cancel
is probably preferable in most circumstances and Terminate
would only be a last resort. Much like kill -INT
might be tried prior to a kill -KILL
.