MCPcopy
hub / github.com/nirui/sshwifty / close

Method close

application/command/fsm.go:167–171  ·  view source on GitHub ↗

Close stops the machine and get it ready to release

()

Source from the content-addressed store, hash-verified

165
166// Close stops the machine and get it ready to release
167func (f *FSM) close() error {
168 f.closed = true
169
170 return f.m.Close()
171}
172
173// Switch switch to specificied State for the next tick
174func (f *FSM) Switch(s FSMState) {

Callers 2

releaseMethod · 0.95
handleCloseMethod · 0.45

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected