diff --git a/image.go b/image.go index 04f90455c..449e42dc2 100644 --- a/image.go +++ b/image.go @@ -169,6 +169,7 @@ func (i *Image) Dispose() error { } restorable.Images().Remove(i.restorable) i.restorable = nil + runtime.SetFinalizer(i, nil) return nil }