1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #39754 from tonistiigi/double-unmount

builder-next: avoid double unmounting mountable
This commit is contained in:
Sebastiaan van Stijn 2019-08-16 20:27:09 +02:00 committed by GitHub
commit c9aee96bfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -480,6 +480,9 @@ func (m *mountable) Release() error {
}
m.mounts = nil
defer func() {
m.release = nil
}()
return m.release()
}