From 65e4ed8fbe15e3a8ebf96fdacf439d30d8a0e491 Mon Sep 17 00:00:00 2001 From: Dean Deng Date: Mon, 14 Dec 2020 10:44:53 -0800 Subject: Do not check for reference leaks after saving. We should not assert that all resources are dropped after saving. PiperOrigin-RevId: 347420131 --- pkg/sentry/kernel/shm/BUILD | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/sentry/kernel/shm') diff --git a/pkg/sentry/kernel/shm/BUILD b/pkg/sentry/kernel/shm/BUILD index 80a592c8f..073e14507 100644 --- a/pkg/sentry/kernel/shm/BUILD +++ b/pkg/sentry/kernel/shm/BUILD @@ -6,6 +6,9 @@ package(licenses = ["notice"]) go_template_instance( name = "shm_refs", out = "shm_refs.go", + consts = { + "enableLogging": "true", + }, package = "shm", prefix = "Shm", template = "//pkg/refsvfs2:refs_template", -- cgit v1.2.3