diff options
Diffstat (limited to 'runsc')
-rw-r--r-- | runsc/boot/loader.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go index 8c6ab213d..10f0f452b 100644 --- a/runsc/boot/loader.go +++ b/runsc/boot/loader.go @@ -479,9 +479,7 @@ func (l *Loader) Destroy() { // All sentry-created resources should have been released at this point; // check for reference leaks. - if refsvfs2.LeakCheckEnabled() { - refsvfs2.DoLeakCheck() - } + refsvfs2.DoLeakCheck() // In the success case, stdioFDs and goferFDs will only contain // released/closed FDs that ownership has been passed over to host FDs and |