abandon current state on server shutdown

This commit is contained in:
Drew Bailey
2020-09-16 14:13:57 -04:00
parent e7e2c799c8
commit c9bf8ce520

View File

@@ -162,6 +162,7 @@ func NewFSM(config *FSMConfig) (*nomadFSM, error) {
// Close is used to cleanup resources associated with the FSM
func (n *nomadFSM) Close() error {
n.state.Abandon()
return nil
}