Cleanup will delete any tmp files created for the pidfile allocation if this killer was for a `runc exec` process.
()
| 444 | // Cleanup will delete any tmp files created for the pidfile allocation |
| 445 | // if this killer was for a `runc exec` process. |
| 446 | func (k procKiller) Cleanup() { |
| 447 | if k.cleanup != nil { |
| 448 | k.cleanup() |
| 449 | } |
| 450 | } |
| 451 | |
| 452 | // Kill will send SIGKILL to the process running inside the container. |
| 453 | // If the process was created by `runc run` then we will use `runc kill`, |