Remove cleanup implementation from runner

This commit is contained in:
Chris Roberts 2022-06-20 13:09:43 -07:00
parent 872812eaa4
commit 24d8025827

View File

@ -1,12 +0,0 @@
package runner
// cleanup stacks cleanup functions to call when Close is called.
func (r *Runner) cleanup(f func()) {
oldF := r.cleanupFunc
r.cleanupFunc = func() {
defer f()
if oldF != nil {
oldF()
}
}
}