MCPcopy Create free account
hub / github.com/dagger/dagger / Cleanup

Method Cleanup

engine/engineutil/executor.go:446–450  ·  view source on GitHub ↗

Cleanup will delete any tmp files created for the pidfile allocation if this killer was for a `runc exec` process.

()

Source from the content-addressed store, hash-verified

444// Cleanup will delete any tmp files created for the pidfile allocation
445// if this killer was for a `runc exec` process.
446func (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`,

Calls 1

cleanupMethod · 0.45