
At the moment, the same transition can be completed multiple times (assuming sufficiently high reference count): return_error() finish() return_error() The consequence of that is that the transition closure will be invoked multiple times. This is unexpected. Add some guards against completing a transition or calling finish() multiple times. Fixes #628