From fbacaab2c69071c688ff4b5ef73e9ea32e8c9865 Mon Sep 17 00:00:00 2001 From: zhijian Date: Thu, 12 Dec 2024 17:17:27 +0800 Subject: [PATCH] gateway: close opened fd when cleanup (#5371) --- 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) } } }