From 8eddc17591d05efde8c2726dd2560f72008e5ee0 Mon Sep 17 00:00:00 2001 From: zhijian Date: Thu, 12 Dec 2024 17:05:01 +0800 Subject: [PATCH] gateway: close opened fd when cleanup --- pkg/gateway/gateway.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/gateway/gateway.go b/pkg/gateway/gateway.go index 214737316e28..b9cc8c8b9a54 100644 --- a/pkg/gateway/gateway.go +++ b/pkg/gateway/gateway.go @@ -1186,6 +1186,7 @@ func (n *jfsObjects) cleanup() { } } } + _ = f.Close(mctx) } } }