From 56acea101653ee29b091b20f62520fa12924265c Mon Sep 17 00:00:00 2001 From: qydysky Date: Wed, 19 Mar 2025 20:04:06 +0800 Subject: [PATCH] 1 --- config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config.go b/config.go index 99e51dc..52ce515 100755 --- a/config.go +++ b/config.go @@ -142,6 +142,7 @@ func (t *Config) startServer(ctx context.Context, logger Logger, conf *http.Serv f.Delete() } f.Write([]byte(strconv.Itoa(int(syncWeb.FD))), false) + defer f.Delete() shutdown = syncWeb.Shutdown return } else { -- 2.39.2