()
| 158 | } |
| 159 | |
| 160 | func (i *createdState) destroy() error { |
| 161 | _ = i.c.initProcess.signal(unix.SIGKILL) |
| 162 | return destroy(i.c) |
| 163 | } |
| 164 | |
| 165 | // pausedState represents a container that is currently pause. It cannot be destroyed in a |
| 166 | // paused state and must transition back to running first. |