From ca92770b428709f3c8f577ea81b8944802394b85 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 4 Jan 2025 22:04:06 +0800 Subject: Clean up directory file descriptors --- main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'main.go') diff --git a/main.go b/main.go index 2d6b706..f71391d 100644 --- a/main.go +++ b/main.go @@ -23,6 +23,7 @@ func main() { if err != nil { panic(err) } + defer clean_up_dirs() listener, err := net.Listen("tcp", ":25") if err != nil { -- cgit v1.2.3